Removed redundant flags for After- and WantedBy-targets

This commit is contained in:
Christian Muehlhaeuser 2018-03-13 05:22:34 +01:00
parent 72ca117598
commit 0ef18f7703
No known key found for this signature in database
GPG Key ID: BA4CF857DD4117E9
1 changed files with 0 additions and 3 deletions

View File

@ -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)
}