114572d558
- remove debugging printf from 0001-Btrfs-progs-add-a-btrfs-select-super-command-to-over.patch (forwarded request 76766 from dsterba) OBS-URL: https://build.opensuse.org/request/show/76976 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=22
34 lines
862 B
Diff
34 lines
862 B
Diff
From 346e20eedde773e9d7b00bd1ea5bc8ecda3236ee Mon Sep 17 00:00:00 2001
|
|
From: Hubert Kario <kario@wit.edu.pl>
|
|
Date: Sun, 23 Jan 2011 13:39:36 +0100
|
|
Subject: [PATCH 03/28] add advanced use of --help to help message
|
|
|
|
explain how to use
|
|
|
|
btrfs <cmd> --help
|
|
|
|
command in help message
|
|
|
|
Signed-off-by: Hubert Kario <kario@wit.edu.pl>
|
|
Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
|
|
---
|
|
btrfs.c | 2 ++
|
|
1 files changed, 2 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/btrfs.c b/btrfs.c
|
|
index 4cd4210..8e0975e 100644
|
|
--- a/btrfs.c
|
|
+++ b/btrfs.c
|
|
@@ -146,6 +146,8 @@ static void help(char *np)
|
|
print_help(np, cp);
|
|
|
|
printf("\n\t%s help|--help|-h\n\t\tShow the help.\n",np);
|
|
+ printf("\n\t%s <cmd> --help\n\t\tShow detailed help for a command or\n\t\t"
|
|
+ "subset of commands.\n",np);
|
|
printf("\n%s\n", BTRFS_BUILD_VERSION);
|
|
}
|
|
|
|
--
|
|
1.7.5.2.353.g5df3e
|
|
|