The opposite of btrfs device add is btrfs device delete. This really should be btrfs device remove. Changes from v1: - Add support for flags to cmd_struct and a CMD_ALIAS flag which only prints the one-line usage string - Rearrange the command wrappers in a way that could be made generic if needed Thanks! Omar Sandoval (2): btrfs-progs: replace struct cmd_group->hidden with flags btrfs-progs: alias btrfs device delete to btrfs device remove Documentation/btrfs-device.asciidoc | 5 ++++- cmds-device.c | 35 ++++++++++++++++++++++++++--------- cmds-filesystem.c | 2 +- commands.h | 9 +++++++-- help.c | 12 +++++++----- 5 files changed, 45 insertions(+), 18 deletions(-) -- 2.4.4 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
