Commit Graph

5 Commits

Author SHA1 Message Date
lupoDharkael
4da6fd05a2 Fix parser segfault
Passing an argument with a double dashed prefix was causing a
crash.
'flameshot --gui' instead of 'flameshot gui'
now it's handled correctly.
2017-10-03 17:19:41 +02:00
lupoDharkael
f0b1aceaf6 Compatibility with Qt5.5 2017-08-19 14:49:29 +02:00
lupoDharkael
6cefead0fc delete inlines, trust the compiler 2017-08-16 14:34:16 +02:00
lupoDharkael
924d467c53 general cleanup
-use of the override keyword
-delete unused code
-const correctness
-more uniform code style
-for each with const references when possible
-getters no longer use the word 'get'
-others
2017-08-09 13:20:07 +02:00
lupoDharkael
8addcbfb16 New command line parser
A new, more flexible and restrictive parser to improve the
usage and experience of Flameshot in the command line.
This parser is based on a parent-child node model and is very easy
to define relationships between arguments and options with
informative error checking. You can define lambdas to check the
received values for every option and custom error messages
2017-08-08 17:06:34 +02:00