diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-01-28 12:39:15 -0800 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-02-07 12:50:19 -0800 |
| commit | 8274ae959ac0b158c3e3206b3810af608fb93785 (patch) | |
| tree | 124a8644950a1b2ba571d157244b98d6ebf810df /vswitchd/ovs-vswitchd.c | |
| parent | 0a6f55420508c31af9fe41aafdd26ce8462cc1be (diff) | |
| download | openvswitch-8274ae959ac0b158c3e3206b3810af608fb93785.tar.gz | |
daemon: Define daemon options enums the same way as other option enums.
Other modules that accept options use this style and I don't see a reason
for the daemon code to be different. The style used by the daemon code
until now runs the risk of ending up with conflicting values accidentally,
which would be confusing.
Diffstat (limited to 'vswitchd/ovs-vswitchd.c')
| -rw-r--r-- | vswitchd/ovs-vswitchd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vswitchd/ovs-vswitchd.c b/vswitchd/ovs-vswitchd.c index cd30c96d3..4ebc8f2c9 100644 --- a/vswitchd/ovs-vswitchd.c +++ b/vswitchd/ovs-vswitchd.c @@ -123,7 +123,8 @@ parse_options(int argc, char *argv[]) VLOG_OPTION_ENUMS, LEAK_CHECKER_OPTION_ENUMS, OPT_BOOTSTRAP_CA_CERT, - OPT_ENABLE_DUMMY + OPT_ENABLE_DUMMY, + DAEMON_OPTION_ENUMS }; static struct option long_options[] = { {"help", no_argument, 0, 'h'}, |
