Update --aliases (-a) switch to use nargs=+
This breaks calls with multiple --aliases params specified and introduces --aliases FILE1 FILE2 FILE3 [...] insteadinfluxdb
parent
6f97932ea2
commit
3ec0874b77
|
@ -147,8 +147,7 @@ if __name__ == '__main__':
|
|||
|
||||
parser.add_argument('-a', '--aliases',
|
||||
help='Read aliases from FILE',
|
||||
default=[], action='append',
|
||||
metavar='FILE')
|
||||
nargs='+', metavar='FILE')
|
||||
parser.add_argument('-m', '--mesh',
|
||||
default=['bat0'], nargs='+',
|
||||
help='Use given batman-adv mesh interface(s) (defaults'
|
||||
|
|
Loading…
Reference in New Issue