From 7ccc0543dc25cd5751f500dd58df766d61b43095 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Mon, 11 Jan 2016 14:31:20 +0100 Subject: btrfs-progs: cleanup, move usage help strings closer to the command callbacks Signed-off-by: David Sterba --- cmds-rescue.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'cmds-rescue.c') diff --git a/cmds-rescue.c b/cmds-rescue.c index 0dbff2dc..98954254 100644 --- a/cmds-rescue.c +++ b/cmds-rescue.c @@ -43,15 +43,6 @@ static const char * const cmd_rescue_chunk_recover_usage[] = { NULL }; -static const char * const cmd_rescue_super_recover_usage[] = { - "btrfs rescue super-recover [options] ", - "Recover bad superblocks from good copies", - "", - "-y Assume an answer of `yes' to all questions", - "-v Verbose mode", - NULL -}; - static int cmd_rescue_chunk_recover(int argc, char *argv[]) { int ret = 0; @@ -103,6 +94,15 @@ static int cmd_rescue_chunk_recover(int argc, char *argv[]) return ret; } +static const char * const cmd_rescue_super_recover_usage[] = { + "btrfs rescue super-recover [options] ", + "Recover bad superblocks from good copies", + "", + "-y Assume an answer of `yes' to all questions", + "-v Verbose mode", + NULL +}; + /* * return codes: * 0 : All superblocks are valid, no need to recover -- cgit v1.2.3