ref/roled: Change flag from using underscore to using hyphen.
Change-Id: I84581d6d897c1bca1b4d008ea0934399e1eeddc3
diff --git a/services/security/roled/main.go b/services/security/roled/main.go
index 997358b..38a3a61 100644
--- a/services/security/roled/main.go
+++ b/services/security/roled/main.go
@@ -18,7 +18,7 @@
)
var (
- configDir = flag.String("config_dir", "", "The directory where the role configuration files are stored.")
+ configDir = flag.String("config-dir", "", "The directory where the role configuration files are stored.")
name = flag.String("name", "", "The name to publish for this service.")
)
@@ -27,7 +27,7 @@
defer shutdown()
if len(*configDir) == 0 {
- fmt.Fprintf(os.Stderr, "--config_dir must be specified\n")
+ fmt.Fprintf(os.Stderr, "--config-dir must be specified\n")
os.Exit(1)
}
if len(*name) == 0 {