diff --git a/README.md b/README.md index 2b995a8..6000557 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ act -v -q, --quiet disable logging of output from steps -r, --reuse reuse action containers to maintain state -s, --secret stringArray secret to make available to actions with optional value (e.g. -s mysecret=foo or -s mysecret) - --secret-file string file with list of secrets to read from (e.g. --secret-file .secrets) + --secret-file string file with list of secrets to read from (e.g. --secret-file .secrets) (default ".secrets") -v, --verbose verbose output --version version for act -w, --watch watch the contents of the local repo and run when files change diff --git a/cmd/root.go b/cmd/root.go index 70f30b6..773bcdc 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -53,7 +53,7 @@ func Execute(ctx context.Context, version string) { rootCmd.PersistentFlags().BoolP("verbose", "v", false, "verbose output") rootCmd.PersistentFlags().BoolVarP(&input.noOutput, "quiet", "q", false, "disable logging of output from steps") rootCmd.PersistentFlags().BoolVarP(&input.dryrun, "dryrun", "n", false, "dryrun mode") - rootCmd.PersistentFlags().StringVarP(&input.secretfile, "secret-file", "", "", "file with list of secrets to read from (e.g. --secret-file .secrets)") + rootCmd.PersistentFlags().StringVarP(&input.secretfile, "secret-file", "", ".secrets", "file with list of secrets to read from (e.g. --secret-file .secrets)") rootCmd.PersistentFlags().BoolVarP(&input.insecureSecrets, "insecure-secrets", "", false, "NOT RECOMMENDED! Doesn't hide secrets while printing logs.") rootCmd.PersistentFlags().StringVarP(&input.envfile, "env-file", "", ".env", "environment file to read and use as env in the containers") rootCmd.SetArgs(args())