Skip to content

Commit 4a0df50

Browse files
committed
Issue 19: Log command-line arguments at start
* Log the command-line input by the user * os.Args hold the command-line arguments, starting with the program name
1 parent 81a825e commit 4a0df50

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/nginx-supportpkg.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ func Execute() {
4646
}
4747

4848
collector.Logger.Printf("Starting kubectl-nginx-suportpkg - version: %s - build: %s", version.Version, version.Build)
49+
collector.Logger.Printf("Input args are %v", os.Args)
4950

5051
switch product {
5152
case "nic":

0 commit comments

Comments
 (0)