#3 Support random order for cli options

closed-works-for-me
lieven
None
5
2011-09-16
2011-09-15
Jeremy Jongepier
No

If I want to run aj-snapshot with the -d option it only works if I put the options in a certain order:
aj-snapshot -r -d example.xml

So -d -r doesn't work. Same goes for -dr or -rd, it would be nice if the latter way of passing options to aj-snapshot would work too.

Best,

Jeremy

Discussion

  • lieven
    lieven
    2011-09-15

    Yes, this is a bit unfortunate. I will change this in the next version of aj-snapshot.
    But just for the record, you don't need to specify the --restore/-r option in daemon mode,
    and it won't make a difference if you can, because daemon mode is always about restoring
    connections. But I think you already knew that ...
    Thanks for reporting this.

    Greetings,

    lieven

     
  • lieven
    lieven
    2011-09-15

    • assigned_to: nobody --> lievenmoors
     
    • status: open --> closed-works-for-me