summaryrefslogtreecommitdiff
path: root/commands.h
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2015-06-24 09:09:17 -0700
committerDavid Sterba <dsterba@suse.cz>2015-06-26 16:33:39 +0200
commitf802f572b1cb1d33bab9747e87e6506b284546cf (patch)
treee8763c099809f0eb6129d95be98d8fe9ee033fe1 /commands.h
parent12aba72aed310d6d3215684c44849233df7d79d2 (diff)
btrfs-progs: alias btrfs device delete to btrfs device remove
There's an awkward asymmetry between btrfs device add and btrfs device delete. Resolve this by aliasing delete to remove. Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'commands.h')
-rw-r--r--commands.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands.h b/commands.h
index e995d79c..d2bb0934 100644
--- a/commands.h
+++ b/commands.h
@@ -19,6 +19,7 @@
enum {
CMD_HIDDEN = (1 << 0), /* should not be in help listings */
+ CMD_ALIAS = (1 << 1), /* alias of next command in cmd_group */
};
struct cmd_struct {