Commit Graph

4 Commits

Author SHA1 Message Date
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