Improve usage message about xm dump-core command
PATCH 1/1 Improve usage message about xm dump-core command
Hi,
This patch improves an usage message about xm dump-core command.
Without this patch you see:
# xm dump-core --help Usage: xm dump-core [-L|--live] [-C|--crash] <Domain> [Filename]
Dump core for a specific domain.
With this patch applied:
# xm dump-core --help Usage: xm dump-core [-L|--live] [-C|--crash] <Domain> [Filename]
Dump core for a specific domain.
-L, --live Dump core without pausing the domain
-C, --crash Crash domain after dumping core
Best regards,
Kan
tools/python/xen/xm/main.py +4 -0
@@ -198,6 +198,10 @@ SUBCOMMAND_OPTIONS = { ), 'network-list': ( ('-l', '--long', 'List resources as SXP'), + ), + 'dump-core': ( + ('-L', '--live', 'Dump core without pausing the domain'), + ('-C', '--crash', 'Crash domain after dumping core'), ), }
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Ewan Mellor
AppliedQuoted 12 lines · Masaki Kanno
This patch improves an usage message about xm dump-core command.
Without this patch you see:
# xm dump-core --help Usage: xm dump-core [-L|--live] [-C|--crash] <Domain> [Filename]Dump core for a specific domain.
With this patch applied:
# xm dump-core --help Usage: xm dump-core [-L|--live] [-C|--crash] <Domain> [Filename]
Quoted 6 lines
Dump core for a specific domain.
-L, --live Dump core without pausing the domain
-C, --crash Crash domain after dumping coreSigned-off-by Masaki Kanno <[email protected]>
I've applied this, thanks. I'm not convinced that dumping a running domain makes any sense, but we may as well document what's there. I'd be tempted to take this option away entirely at some point.
Ewan.