2001-09-25 16:49:28 +04:00
/*
2001-12-17 13:08:27 +03:00
* Copyright ( C ) 2001 Sistina Software ( UK ) Limited .
2001-09-25 16:49:28 +04:00
*
2002-02-11 23:50:53 +03:00
* This file is released under the LGPL .
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
*/
2001-12-17 19:58:17 +03:00
arg ( version_ARG , ' \0 ' , " version " , NULL )
arg ( quiet_ARG , ' \0 ' , " quiet " , NULL )
2002-02-20 21:29:30 +03:00
arg ( physicalvolumesize_ARG , ' \0 ' , " setphysicalvolumesize " , size_arg )
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 .
*/
2001-12-17 19:58:17 +03:00
arg ( available_ARG , ' a ' , " available " , yes_no_arg )
arg ( all_ARG , ' a ' , " all " , NULL )
arg ( autobackup_ARG , ' A ' , " autobackup " , yes_no_arg )
arg ( activevolumegroups_ARG , ' A ' , " activevolumegroups " , NULL )
arg ( blockdevice_ARG , ' b ' , " blockdevice " , NULL )
arg ( chunksize_ARG , ' c ' , " chunksize " , size_arg )
arg ( colon_ARG , ' c ' , " colon " , NULL )
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 )
arg ( stripesize_ARG , ' I ' , " stripesize " , size_arg )
arg ( stripes_ARG , ' i ' , " stripes " , int_arg )
arg ( iop_version_ARG , ' i ' , " iop_version " , NULL )
arg ( logicalvolume_ARG , ' l ' , " logicalvolume " , int_arg )
arg ( maxlogicalvolumes_ARG , ' l ' , " maxlogicalvolumes " , int_arg )
arg ( extents_ARG , ' l ' , " extents " , int_arg_with_sign )
arg ( lvmpartition_ARG , ' l ' , " lvmpartition " , NULL )
arg ( list_ARG , ' l ' , " list " , NULL )
arg ( size_ARG , ' L ' , " size " , size_arg )
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 )
2002-04-24 22:20:51 +04:00
arg ( metadatatype_ARG , ' M ' , " metadatatype " , metadatatype_arg )
2002-02-01 20:54:39 +03:00
arg ( minor_ARG , ' m ' , " minor " , minor_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 )
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 )
arg ( reset_ARG , ' R ' , " reset " , NULL )
arg ( physicalextentsize_ARG , ' s ' , " physicalextentsize " , size_arg )
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 )
2001-09-25 16:49:28 +04:00