Skip to content

new feature: return version and exit #102

Description

@rriemann

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions