-
-tinc_flags = (
- (0, ("get", "name")),
- (0, ("-n", "foo", "get", "name")),
- (0, ("-nfoo", "get", "name")),
- (0, ("--net=foo", "get", "name")),
- (0, ("--net", "foo", "get", "name")),
- (0, ("-c", "conf", "-c", "conf")),
- (0, ("-n", "net", "-n", "net")),
- (0, ("--pidfile=pid", "--pidfile=pid")),
- (1, ("-n", "foo", "get", "somethingreallyunknown")),
- (1, ("--net",)),
- (1, ("--net", "get", "name")),
- (1, ("foo",)),
- (1, ("-c", "conf", "-n", "n/e\\t")),
-)
-
-tincd_flags = (
- (0, ("-D",)),
- (0, ("--no-detach",)),
- (0, ("-D", "-d")),
- (0, ("-D", "-d2")),
- (0, ("-D", "-d", "2")),
- (0, ("-D", "-n", "foo")),
- (0, ("-D", "-nfoo")),
- (0, ("-D", "--net=foo")),
- (0, ("-D", "--net", "foo")),
- (0, ("-D", "-c", ".", "-c", ".")),
- (0, ("-D", "-n", "net", "-n", "net")),
- (0, ("-D", "-n", "net", "-o", "FakeOpt=42")),
- (0, ("-D", "--logfile=log", "--logfile=log")),
- (0, ("-D", "--pidfile=pid", "--pidfile=pid")),
- (1, ("foo",)),
- (1, ("--pidfile",)),
- (1, ("--foo",)),
- (1, ("-n", "net", "-o", "Compression=")),
- (1, ("-c", "fakedir", "-n", "n/e\\t")),
-)