Skip to content

Commit

Permalink
Updated Readme and Added format for OCI (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieu-benoit authored Nov 3, 2024
2 parents 1cfcf4d + ab01086 commit bce7692
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Flags:
-h, --help help for init
--no-sample Disable generation of the sample score file
-p, --project string Set the name of the docker compose project (defaults to the current directory name)
--provisioner stringArray A provisioners file to install. May be specified multiple times. Supports http://host/file, https://host/file, git-ssh://git@host/repo.git/file, and git-https://host/repo.git/file formats.
--provisioner stringArray A provisioners file to install. May be specified multiple times. Supports http://host/file, https://host/file, git-ssh://git@host/repo.git/file, git-https://host/repo.git/file and oci://[registry/][namespace/]repository[:tag|@digest][#file] formats.
Global Flags:
--quiet Mute any logging output
Expand Down
2 changes: 1 addition & 1 deletion internal/command/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func init() {
"- HTTPS : https://host/file\n"+
"- Git (SSH) : git-ssh://git@host/repo.git/file\n"+
"- Git (HTTPS) : git-https://host/repo.git/file\n"+
"- OCI : oci://[registry/][namespace/]repository[:tag|@digest]")
"- OCI : oci://[registry/][namespace/]repository[:tag|@digest][#file]")

rootCmd.AddCommand(initCmd)
}
Expand Down
2 changes: 1 addition & 1 deletion internal/command/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Flags:
- HTTPS : https://host/file
- Git (SSH) : git-ssh://git@host/repo.git/file
- Git (HTTPS) : git-https://host/repo.git/file
- OCI : oci://[registry/][namespace/]repository[:tag|@digest]
- OCI : oci://[registry/][namespace/]repository[:tag|@digest][#file]
Global Flags:
--quiet Mute any logging output
Expand Down

0 comments on commit bce7692

Please sign in to comment.