repart: adjust --help and test output width
This commit is contained in:
parent
a015fbe7ef
commit
2d2d0a57e7
|
@ -2668,6 +2668,7 @@ if conf.get('ENABLE_REPART') == 1
|
||||||
install_rpath : rootlibexecdir,
|
install_rpath : rootlibexecdir,
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : rootbindir)
|
install_dir : rootbindir)
|
||||||
|
public_programs += exe
|
||||||
|
|
||||||
if want_tests != 'false'
|
if want_tests != 'false'
|
||||||
test('test-repart',
|
test('test-repart',
|
||||||
|
|
|
@ -2817,7 +2817,7 @@ static int help(void) {
|
||||||
" --empty=MODE One of refuse, allow, require, force, create; controls\n"
|
" --empty=MODE One of refuse, allow, require, force, create; controls\n"
|
||||||
" how to handle empty disks lacking partition tables\n"
|
" how to handle empty disks lacking partition tables\n"
|
||||||
" --discard=BOOL Whether to discard backing blocks for new partitions\n"
|
" --discard=BOOL Whether to discard backing blocks for new partitions\n"
|
||||||
" --pretty=BOOL Whether to show pretty summary before executing operation\n"
|
" --pretty=BOOL Whether to show pretty summary before doing changes\n"
|
||||||
" --factory-reset=BOOL Whether to remove data partitions before recreating\n"
|
" --factory-reset=BOOL Whether to remove data partitions before recreating\n"
|
||||||
" them\n"
|
" them\n"
|
||||||
" --can-factory-reset Test whether factory reset is defined\n"
|
" --can-factory-reset Test whether factory reset is defined\n"
|
||||||
|
@ -2825,7 +2825,7 @@ static int help(void) {
|
||||||
" --definitions=DIR Find partitions in specified directory\n"
|
" --definitions=DIR Find partitions in specified directory\n"
|
||||||
" --seed=UUID 128bit seed UUID to derive all UUIDs from\n"
|
" --seed=UUID 128bit seed UUID to derive all UUIDs from\n"
|
||||||
" --size=BYTES Grow loopback file to specified size\n"
|
" --size=BYTES Grow loopback file to specified size\n"
|
||||||
" --json=(pretty|short|off)\n"
|
" --json=pretty|short|off\n"
|
||||||
" Generate json output\n"
|
" Generate json output\n"
|
||||||
"\nSee the %s for details.\n"
|
"\nSee the %s for details.\n"
|
||||||
, program_invocation_short_name
|
, program_invocation_short_name
|
||||||
|
|
Loading…
Reference in New Issue