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

gogdl --version should not require --auth-config-path to be used #55

Open
Kingwad opened this issue Sep 25, 2024 · 0 comments
Open

gogdl --version should not require --auth-config-path to be used #55

Kingwad opened this issue Sep 25, 2024 · 0 comments

Comments

@Kingwad
Copy link

Kingwad commented Sep 25, 2024

One should be able to check the version of the gogdl tool without needing to provide a path for authentication token storage.

-h flag does not require --auth-config-path, as expected.

Steps
./gogdl_linux_x86_64 --version

Result
./gogdl_linux_x86_64 --version

usage: gogdl_linux_x86_64 [-h] [--version] --auth-config-path AUTH_CONFIG_PATH {import,redist,dependencies,auth,download,repair,update,info,launch,save-sync,save-clear} ... gogdl_linux_x86_64: error: the following arguments are required: --auth-config-path

Expected result:
./gogdl_linux_x86_64 --version

1.1.2

Workaround:
./gogdl_linux_x86_64 --version --auth-config-path /dev/null

1.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant