Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #231 from vania-pooh/master
Browse files Browse the repository at this point in the history
Drivers mode should be available for all commands
  • Loading branch information
vania-pooh authored Jul 22, 2019
2 parents cd5d622 + 71cc94c commit e16925e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/selenoid.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ func initFlags() {
selenoidUIStatusCmd,
} {
c.Flags().BoolVarP(&quiet, "quiet", "q", false, "suppress output")
c.Flags().BoolVarP(&useDrivers, "use-drivers", "d", false, "use drivers mode instead of Docker")
}
for _, c := range []*cobra.Command{
selenoidDownloadCmd,
Expand Down Expand Up @@ -134,7 +135,6 @@ func initFlags() {
} {
c.Flags().StringVarP(&browsers, "browsers", "b", "", "semicolon separated list of browser names to process")
c.Flags().StringVarP(&browserEnv, "browser-env", "w", "", "override container or driver environment variables (e.g. \"KEY1=value1 KEY2=value2\")")
c.Flags().BoolVarP(&useDrivers, "use-drivers", "d", false, "use drivers mode instead of Docker")
c.Flags().StringVarP(&browsersJSONUrl, "browsers-json", "j", selenoid.DefaultBrowsersJsonURL, "browsers JSON data URL (in most cases never need to be set manually)")
c.Flags().BoolVarP(&skipDownload, "no-download", "n", false, "only output config file without downloading images or drivers")
c.Flags().IntVarP(&lastVersions, "last-versions", "l", 2, "process only last N versions (Docker only)")
Expand Down

0 comments on commit e16925e

Please sign in to comment.