Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command argn.max set to >0 Argn does not return args len Args does not return the args #2

Closed
mkungla opened this issue Mar 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mkungla
Copy link
Member

mkungla commented Mar 7, 2024

fmt.Println(args.Argn())
fmt.Println(args.Args())

outputs

0
[]

for cmd subcommand arg1 while expected

1
[arg1]
@mkungla mkungla added the bug Something isn't working label Mar 7, 2024
@mkungla mkungla changed the title Coomand argn.max set to >0 Argn does not return args len Args does not return the args Command argn.max set to >0 Argn does not return args len Args does not return the args Mar 7, 2024
@mkungla mkungla closed this as completed in 3468715 Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant