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-inspect.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'cmds-inspect.c') diff --git a/cmds-inspect.c b/cmds-inspect.c index c2bb862d..932765ba 100644 --- a/cmds-inspect.c +++ b/cmds-inspect.c @@ -329,6 +329,14 @@ out: return !!ret; } +static const char* const cmd_inspect_min_dev_size_usage[] = { + "btrfs inspect-internal min-dev-size [options] ", + "Get the minimum size the device can be shrunk to. The", + "device id 1 is used by default.", + "--id DEVID specify the device id to query", + NULL +}; + struct dev_extent_elem { u64 start; /* inclusive end */ @@ -569,14 +577,6 @@ out: return ret; } -static const char* const cmd_inspect_min_dev_size_usage[] = { - "btrfs inspect-internal min-dev-size [options] ", - "Get the minimum size the device can be shrunk to. The", - "device id 1 is used by default.", - "--id DEVID specify the device id to query", - NULL -}; - static int cmd_inspect_min_dev_size(int argc, char **argv) { int ret; -- cgit v1.2.3