|
@@ -46,6 +46,8 @@ var (
|
|
|
|
|
|
|
|
cpuProfPath string
|
|
cpuProfPath string
|
|
|
memProfPath string
|
|
memProfPath string
|
|
|
|
|
+
|
|
|
|
|
+ user string
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
|
func init() {
|
|
@@ -57,4 +59,6 @@ func init() {
|
|
|
RootCmd.PersistentFlags().StringVar(&tls.CertFile, "cert", "", "identify HTTPS client using this SSL certificate file")
|
|
RootCmd.PersistentFlags().StringVar(&tls.CertFile, "cert", "", "identify HTTPS client using this SSL certificate file")
|
|
|
RootCmd.PersistentFlags().StringVar(&tls.KeyFile, "key", "", "identify HTTPS client using this SSL key file")
|
|
RootCmd.PersistentFlags().StringVar(&tls.KeyFile, "key", "", "identify HTTPS client using this SSL key file")
|
|
|
RootCmd.PersistentFlags().StringVar(&tls.CAFile, "cacert", "", "verify certificates of HTTPS-enabled servers using this CA bundle")
|
|
RootCmd.PersistentFlags().StringVar(&tls.CAFile, "cacert", "", "verify certificates of HTTPS-enabled servers using this CA bundle")
|
|
|
|
|
+
|
|
|
|
|
+ RootCmd.PersistentFlags().StringVar(&user, "user", "", "specify username and password in username:password format")
|
|
|
}
|
|
}
|