From 2d2d0a57e7fa10e3feef340aab28c3454696a9bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 30 Jul 2020 16:02:45 +0200 Subject: [PATCH] repart: adjust --help and test output width --- meson.build | 1 + src/partition/repart.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index dbbddb68e2..c0b5b3cccb 100644 --- a/meson.build +++ b/meson.build @@ -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', diff --git a/src/partition/repart.c b/src/partition/repart.c index 3427f53335..2446a0871b 100644 --- a/src/partition/repart.c +++ b/src/partition/repart.c @@ -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