All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs device remove alias
@ 2015-06-24 16:09 Omar Sandoval
  2015-06-24 16:09 ` [PATCH 1/2] btrfs-progs: replace struct cmd_group->hidden with flags Omar Sandoval
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Omar Sandoval @ 2015-06-24 16:09 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Omar Sandoval

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-06-27 11:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-24 16:09 [PATCH 0/2] btrfs device remove alias Omar Sandoval
2015-06-24 16:09 ` [PATCH 1/2] btrfs-progs: replace struct cmd_group->hidden with flags Omar Sandoval
2015-06-26 14:34   ` David Sterba
2015-06-24 16:09 ` [PATCH 2/2] btrfs-progs: alias btrfs device delete to btrfs device remove Omar Sandoval
2015-06-26 14:46   ` David Sterba
2015-06-25  4:06 ` [PATCH 0/2] btrfs device remove alias Duncan
2015-06-25 13:41 ` David Sterba
2015-06-25 13:45   ` Chris Mason
2015-06-26  1:10 ` Anand Jain
2015-06-26  4:21   ` Duncan
2015-06-26 13:33   ` David Sterba
2015-06-27 11:38     ` Goffredo Baroncelli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.