]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
repart: adjust --help and test output width
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 30 Jul 2020 14:02:45 +0000 (16:02 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 30 Jul 2020 14:02:45 +0000 (16:02 +0200)
meson.build
src/partition/repart.c

index dbbddb68e23283596da04b94f0d3b596d539d96c..c0b5b3cccbe2621ff2ffbaef36d98e18e7332c2f 100644 (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',
index 3427f5333579d3bbfa1d55a0fefe11cc9a183abe..2446a0871b976876a91d4a6ffc0e9bd707c7b37e 100644 (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