mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +02:00
fix: explicitly accept non-commands as root args (#1458)
This commit is contained in:
parent
5134e159e2
commit
ae8c36f04f
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ func NewRootCommand() *cobra.Command {
|
||||||
`,
|
`,
|
||||||
Run: Run,
|
Run: Run,
|
||||||
PreRun: PreRun,
|
PreRun: PreRun,
|
||||||
|
Args: cobra.ArbitraryArgs,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue