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

new feature: return version and exit #102

Open
rriemann opened this issue Feb 7, 2021 · 0 comments
Open

new feature: return version and exit #102

rriemann opened this issue Feb 7, 2021 · 0 comments
Milestone

Comments

@rriemann
Copy link

rriemann commented Feb 7, 2021

Dear all,

thank you for this tool. make install is entirely silent. So I thought of querying for the version after installation:

snap-sync --version

snap-sync version 0.7, Copyright (C) 2016-2021 Wes Barnett
snap-sync comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the license for more information. 

==> ERROR: Unknown option: '--version'. Run 'snap-sync -h' for valid options.
/usr/bin/snap-sync: line 59: notify_error: command not found
Exited due to error on line 59.
exit status: 127
command: notify_error 'Error' 'Check journal for more information.'
bash line: 63
function name: error

I'd be happy to have a --version option. :)

Best,
Robert

@wesbarnett wesbarnett self-assigned this Feb 7, 2021
@wesbarnett wesbarnett added this to the 0.8 milestone Feb 7, 2021
@wesbarnett wesbarnett removed their assignment Jul 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants