2001-09-25 16:49:28 +04:00
/*
2004-03-30 23:35:44 +04:00
* Copyright ( C ) 2001 - 2004 Sistina Software , Inc . All rights reserved .
* Copyright ( C ) 2004 Red Hat , Inc . All rights reserved .
2001-09-25 16:49:28 +04:00
*
2004-03-30 23:35:44 +04:00
* This file is part of LVM2 .
*
* This copyrighted material is made available to anyone wishing to use ,
* modify , copy , or redistribute it subject to the terms and conditions
* of the GNU General Public License v .2 .
*
* You should have received a copy of the GNU General Public License
* along with this program ; if not , write to the Free Software Foundation ,
* Inc . , 59 Temple Place , Suite 330 , Boston , MA 02111 - 1307 USA
2001-12-17 13:08:27 +03:00
*/
/*
* Put all long args that don ' t have a
* corresponding short option first . . .
2001-09-25 16:49:28 +04:00
*/
2003-04-02 23:14:43 +04:00
/* *INDENT-OFF* */
2001-12-17 19:58:17 +03:00
arg ( version_ARG , ' \0 ' , " version " , NULL )
arg ( quiet_ARG , ' \0 ' , " quiet " , NULL )
2002-12-03 16:24:38 +03:00
arg ( physicalvolumesize_ARG , ' \0 ' , " setphysicalvolumesize " , size_mb_arg )
2002-07-11 00:43:32 +04:00
arg ( ignorelockingfailure_ARG , ' \0 ' , " ignorelockingfailure " , NULL )
2004-03-26 15:09:33 +03:00
arg ( nolocking_ARG , ' \0 ' , " nolocking " , NULL )
2002-11-18 17:04:08 +03:00
arg ( metadatacopies_ARG , ' \0 ' , " metadatacopies " , int_arg )
2002-12-03 16:24:38 +03:00
arg ( metadatasize_ARG , ' \0 ' , " metadatasize " , size_mb_arg )
2002-11-18 17:04:08 +03:00
arg ( restorefile_ARG , ' \0 ' , " restorefile " , string_arg )
arg ( labelsector_ARG , ' \0 ' , " labelsector " , int_arg )
arg ( driverloaded_ARG , ' \0 ' , " driverloaded " , yes_no_arg )
2002-12-12 23:55:49 +03:00
arg ( aligned_ARG , ' \0 ' , " aligned " , NULL )
arg ( unbuffered_ARG , ' \0 ' , " unbuffered " , NULL )
arg ( noheadings_ARG , ' \0 ' , " noheadings " , NULL )
arg ( segments_ARG , ' \0 ' , " segments " , NULL )
arg ( units_ARG , ' \0 ' , " units " , string_arg )
arg ( nosuffix_ARG , ' \0 ' , " nosuffix " , NULL )
2003-01-18 00:04:26 +03:00
arg ( removemissing_ARG , ' \0 ' , " removemissing " , NULL )
2003-05-06 16:08:58 +04:00
arg ( abort_ARG , ' \0 ' , " abort " , NULL )
2004-03-08 20:19:15 +03:00
arg ( addtag_ARG , ' \0 ' , " addtag " , tag_arg )
arg ( deltag_ARG , ' \0 ' , " deltag " , tag_arg )
2004-03-27 00:24:03 +03:00
arg ( refresh_ARG , ' \0 ' , " refresh " , NULL )
2003-11-14 17:03:48 +03:00
arg ( mknodes_ARG , ' \0 ' , " mknodes " , NULL )
2003-12-10 01:17:17 +03:00
arg ( minor_ARG , ' \0 ' , " minor " , minor_arg )
2004-05-11 20:01:58 +04:00
arg ( type_ARG , ' \0 ' , " type " , segtype_arg )
2004-05-19 02:12:53 +04:00
arg ( alloc_ARG , ' \0 ' , " alloc " , alloc_arg )
2004-12-22 00:40:36 +03:00
arg ( separator_ARG , ' \0 ' , " separator " , string_arg )
2005-12-22 00:21:45 +03:00
arg ( mirrorsonly_ARG , ' \0 ' , " mirrorsonly " , NULL )
2006-05-11 22:39:24 +04:00
arg ( nosync_ARG , ' \0 ' , " nosync " , NULL )
2006-10-24 21:18:25 +04:00
arg ( resync_ARG , ' \0 ' , " resync " , NULL )
2006-05-11 22:54:04 +04:00
arg ( corelog_ARG , ' \0 ' , " corelog " , NULL )
2006-05-12 23:16:48 +04:00
arg ( monitor_ARG , ' \0 ' , " monitor " , yes_no_arg )
2006-05-16 20:48:31 +04:00
arg ( config_ARG , ' \0 ' , " config " , string_arg )
2006-08-01 18:56:33 +04:00
arg ( trustcache_ARG , ' \0 ' , " trustcache " , NULL )
2001-09-25 16:49:28 +04:00
2002-01-10 18:09:51 +03:00
/* Allow some variations */
arg ( resizable_ARG , ' \0 ' , " resizable " , yes_no_arg )
arg ( allocation_ARG , ' \0 ' , " allocation " , yes_no_arg )
2001-12-17 13:08:27 +03:00
/*
* . . . and now the short args .
*/
2004-05-24 17:44:10 +04:00
arg ( available_ARG , ' a ' , " available " , yes_no_excl_arg )
2001-12-17 19:58:17 +03:00
arg ( all_ARG , ' a ' , " all " , NULL )
arg ( autobackup_ARG , ' A ' , " autobackup " , yes_no_arg )
arg ( activevolumegroups_ARG , ' A ' , " activevolumegroups " , NULL )
2003-05-06 16:08:58 +04:00
arg ( background_ARG , ' b ' , " background " , NULL )
2001-12-17 19:58:17 +03:00
arg ( blockdevice_ARG , ' b ' , " blockdevice " , NULL )
2002-12-03 16:24:38 +03:00
arg ( chunksize_ARG , ' c ' , " chunksize " , size_kb_arg )
2005-03-22 01:55:12 +03:00
arg ( clustered_ARG , ' c ' , " clustered " , yes_no_arg )
2001-12-17 19:58:17 +03:00
arg ( colon_ARG , ' c ' , " colon " , NULL )
2002-12-12 23:55:49 +03:00
arg ( columns_ARG , ' C ' , " columns " , NULL )
2001-12-17 19:58:17 +03:00
arg ( contiguous_ARG , ' C ' , " contiguous " , yes_no_arg )
arg ( debug_ARG , ' d ' , " debug " , NULL )
arg ( disk_ARG , ' D ' , " disk " , NULL )
arg ( exported_ARG , ' e ' , " exported " , NULL )
arg ( physicalextent_ARG , ' E ' , " physicalextent " , NULL )
2002-01-07 12:05:31 +03:00
arg ( file_ARG , ' f ' , " file " , string_arg )
2001-12-17 19:58:17 +03:00
arg ( force_ARG , ' f ' , " force " , NULL )
arg ( full_ARG , ' f ' , " full " , NULL )
arg ( help_ARG , ' h ' , " help " , NULL )
2002-11-29 18:02:57 +03:00
arg ( help2_ARG , ' ? ' , " " , NULL )
2002-12-03 16:24:38 +03:00
arg ( stripesize_ARG , ' I ' , " stripesize " , size_kb_arg )
2001-12-17 19:58:17 +03:00
arg ( stripes_ARG , ' i ' , " stripes " , int_arg )
2003-04-30 19:28:17 +04:00
arg ( interval_ARG , ' i ' , " interval " , int_arg )
2001-12-17 19:58:17 +03:00
arg ( iop_version_ARG , ' i ' , " iop_version " , NULL )
arg ( logicalvolume_ARG , ' l ' , " logicalvolume " , int_arg )
arg ( maxlogicalvolumes_ARG , ' l ' , " maxlogicalvolumes " , int_arg )
2006-09-26 13:35:43 +04:00
arg ( extents_ARG , ' l ' , " extents " , int_arg_with_sign_and_percent )
2001-12-17 19:58:17 +03:00
arg ( lvmpartition_ARG , ' l ' , " lvmpartition " , NULL )
arg ( list_ARG , ' l ' , " list " , NULL )
2002-12-03 16:24:38 +03:00
arg ( size_ARG , ' L ' , " size " , size_mb_arg )
2001-12-17 19:58:17 +03:00
arg ( logicalextent_ARG , ' L ' , " logicalextent " , int_arg_with_sign )
2002-02-01 20:54:39 +03:00
arg ( persistent_ARG , ' M ' , " persistent " , yes_no_arg )
2003-04-02 23:14:43 +04:00
arg ( major_ARG , ' j ' , " major " , major_arg )
2005-11-29 00:00:37 +03:00
arg ( mirrors_ARG , ' m ' , " mirrors " , int_arg_with_sign )
2002-04-24 22:20:51 +04:00
arg ( metadatatype_ARG , ' M ' , " metadatatype " , metadatatype_arg )
2001-12-17 19:58:17 +03:00
arg ( maps_ARG , ' m ' , " maps " , NULL )
arg ( name_ARG , ' n ' , " name " , string_arg )
arg ( oldpath_ARG , ' n ' , " oldpath " , NULL )
arg ( nofsck_ARG , ' n ' , " nofsck " , NULL )
arg ( novolumegroup_ARG , ' n ' , " novolumegroup " , NULL )
2002-12-03 16:24:38 +03:00
arg ( options_ARG , ' o ' , " options " , string_arg )
2002-12-12 23:55:49 +03:00
arg ( sort_ARG , ' O ' , " sort " , string_arg )
2001-12-17 19:58:17 +03:00
arg ( permission_ARG , ' p ' , " permission " , permission_arg )
arg ( maxphysicalvolumes_ARG , ' p ' , " maxphysicalvolumes " , int_arg )
2002-01-29 20:23:33 +03:00
arg ( partial_ARG , ' P ' , " partial " , NULL )
2001-12-17 19:58:17 +03:00
arg ( physicalvolume_ARG , ' P ' , " physicalvolume " , NULL )
arg ( readahead_ARG , ' r ' , " readahead " , int_arg )
2004-06-15 21:23:49 +04:00
arg ( resizefs_ARG , ' r ' , " resizefs " , NULL )
2001-12-17 19:58:17 +03:00
arg ( reset_ARG , ' R ' , " reset " , NULL )
2005-06-01 20:51:55 +04:00
arg ( regionsize_ARG , ' R ' , " regionsize " , size_mb_arg )
2002-12-03 16:24:38 +03:00
arg ( physicalextentsize_ARG , ' s ' , " physicalextentsize " , size_mb_arg )
2001-12-17 19:58:17 +03:00
arg ( stdin_ARG , ' s ' , " stdin " , NULL )
arg ( snapshot_ARG , ' s ' , " snapshot " , NULL )
arg ( short_ARG , ' s ' , " short " , NULL )
arg ( test_ARG , ' t ' , " test " , NULL )
arg ( uuid_ARG , ' u ' , " uuid " , NULL )
2002-01-16 21:10:08 +03:00
arg ( uuidstr_ARG , ' u ' , " uuid " , string_arg )
2001-12-17 19:58:17 +03:00
arg ( uuidlist_ARG , ' U ' , " uuidlist " , NULL )
arg ( verbose_ARG , ' v ' , " verbose " , NULL )
arg ( volumegroup_ARG , ' V ' , " volumegroup " , NULL )
2002-01-10 18:09:51 +03:00
arg ( allocatable_ARG , ' x ' , " allocatable " , yes_no_arg )
arg ( resizeable_ARG , ' x ' , " resizeable " , yes_no_arg )
2001-12-17 19:58:17 +03:00
arg ( yes_ARG , ' y ' , " yes " , NULL )
arg ( zero_ARG , ' Z ' , " zero " , yes_no_arg )
2001-09-25 16:49:28 +04:00
/* this should always be last */
2001-12-17 19:58:17 +03:00
arg ( ARG_COUNT , ' - ' , " " , NULL )
2003-04-02 23:14:43 +04:00
/* *INDENT-ON* */