From 0ef18f77033242005a96e74ad36b2eb2a53fc0b9 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Tue, 13 Mar 2018 05:22:34 +0100 Subject: [PATCH] Removed redundant flags for After- and WantedBy-targets --- service-generator/createcmd.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/service-generator/createcmd.go b/service-generator/createcmd.go index 944fd91..60c651d 100644 --- a/service-generator/createcmd.go +++ b/service-generator/createcmd.go @@ -278,8 +278,5 @@ func init() { createCmd.PersistentFlags().StringVar(&createOpts.TimeoutStartSec, "timeoutstartsec", "", "How many seconds to wait for a startup") createCmd.PersistentFlags().StringVar(&createOpts.TimeoutStopSec, "timeoutstopsec", "", "How many seconds to wait when stoping a service") - createCmd.PersistentFlags().StringVarP(&createOpts.After, "after", "a", "", "Target after which the service will be started") - createCmd.PersistentFlags().StringVarP(&createOpts.WantedBy, "wantedby", "b", "", "This service is wanted by this target") - RootCmd.AddCommand(createCmd) }