Commit Graph

6 Commits

Author SHA1 Message Date
Dietmar Maurer
63ed950ad4 only set list_param if we pass args 2011-11-08 07:36:11 +01:00
Dietmar Maurer
23dc9401bb introduce '-alist' format
This new meta-format is used for list which need to be 0 terminated.
The default '-list' format is now always [,; ] terminated.
2011-10-25 08:36:28 +02:00
Dietmar Maurer
aab47b58d4 avoid warning when list_param is undefined 2011-10-14 08:56:55 +02:00
Dietmar Maurer
1d21344cf5 improve get_options (allow argument lists)
So far it was possiple to specific lists by using option multiple times.

	vzdump --vmid 100 --vmid 101

or

	vzdump -vmid 100,101

No we can pass the vm list as arguments (not options)

	vzdump 100 101
2011-10-14 08:29:39 +02:00
Dietmar Maurer
8ba7c72bd1 allow list format in getopts 2011-10-12 12:21:09 +02:00
Dietmar Maurer
e143e9d86b imported from svn 'pve-common/trunk' 2011-08-23 07:31:48 +02:00