summaryrefslogtreecommitdiff
path: root/tools/args.h
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2012-06-27 07:48:31 -0400
committerPeter Rajnoha <prajnoha@redhat.com>2012-06-28 09:42:44 -0400
commit2729720fd329f2c33cddeeded591a06fe4b6a147 (patch)
tree97c89e26f8513eb45f904db0f5df894308cd9d54 /tools/args.h
parent07a25c249b3ed449ca9f678c19ddb320967adaa9 (diff)
downloadlvm2-2729720fd329f2c33cddeeded591a06fe4b6a147.tar.gz
args: add --activate synonym for --available arg
We're refererring to 'activation' all over the code and we're talking about 'LVs being activated' all the time so let's use 'activation/activate' everywhere for clarity and consistency (still providing the old 'available' keyword as a synonym for backward compatibility with existing environments).
Diffstat (limited to 'tools/args.h')
-rw-r--r--tools/args.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/args.h b/tools/args.h
index f2fa14b4e..2ce3c36a6 100644
--- a/tools/args.h
+++ b/tools/args.h
@@ -79,11 +79,12 @@ arg(thinpool_ARG, '\0', "thinpool", string_arg, 0)
/* Allow some variations */
arg(resizable_ARG, '\0', "resizable", yes_no_arg, 0)
arg(allocation_ARG, '\0', "allocation", yes_no_arg, 0)
+arg(available_ARG, '\0', "available", activation_arg, 0)
/*
* ... and now the short args.
*/
-arg(available_ARG, 'a', "available", yes_no_excl_arg, 0)
+arg(activate_ARG, 'a', "activate", activation_arg, 0)
arg(all_ARG, 'a', "all", NULL, 0)
arg(autobackup_ARG, 'A', "autobackup", yes_no_arg, 0)
arg(activevolumegroups_ARG, 'A', "activevolumegroups", NULL, 0)