diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2012-02-08 17:45:54 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2012-02-08 18:55:51 +0200 |
commit | 08b51bd731467ac8da182d69c827a8a5c7877079 (patch) | |
tree | 43bf4f0075db78ee1170fb9f96cefaf591b38ddf /cmds-device.c | |
parent | 6cd813b6fc18ba75edfcfad5857d27f0265c2c28 (diff) |
Btrfs-progs: allow multi-line command group synopsis
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'cmds-device.c')
-rw-r--r-- | cmds-device.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cmds-device.c b/cmds-device.c index 51089bae..db625a69 100644 --- a/cmds-device.c +++ b/cmds-device.c @@ -39,8 +39,10 @@ struct btrfs_ioctl_vol_args { char name[BTRFS_VOL_NAME_MAX]; }; static inline int ioctl(int fd, int define, void *arg) { return 0; } #endif -static const char device_cmd_group_usage[] = - "btrfs device <command> [<args>]"; +static const char * const device_cmd_group_usage[] = { + "btrfs device <command> [<args>]", + NULL +}; static const char * const cmd_add_dev_usage[] = { "btrfs device add <device> [<device>...] <path>", |