1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

repart: adjust --help and test output width

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2020-07-30 16:02:45 +02:00
parent a015fbe7ef
commit 2d2d0a57e7
2 changed files with 3 additions and 2 deletions

View File

@ -2668,6 +2668,7 @@ if conf.get('ENABLE_REPART') == 1
install_rpath : rootlibexecdir,
install : true,
install_dir : rootbindir)
public_programs += exe
if want_tests != 'false'
test('test-repart',

View File

@ -2817,7 +2817,7 @@ static int help(void) {
" --empty=MODE One of refuse, allow, require, force, create; controls\n"
" how to handle empty disks lacking partition tables\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"
" them\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"
" --seed=UUID 128bit seed UUID to derive all UUIDs from\n"
" --size=BYTES Grow loopback file to specified size\n"
" --json=(pretty|short|off)\n"
" --json=pretty|short|off\n"
" Generate json output\n"
"\nSee the %s for details.\n"
, program_invocation_short_name