|
@@ -3,7 +3,7 @@
|
3
|
3
|
slop::Options* options = new slop::Options();
|
4
|
4
|
|
5
|
5
|
slop::Options::Options() {
|
6
|
|
- m_version = "v2.0.6";
|
|
6
|
+ m_version = "v2.0.7";
|
7
|
7
|
m_borderSize = 10;
|
8
|
8
|
m_padding = 0;
|
9
|
9
|
m_xdisplay = ":0";
|
|
@@ -35,7 +35,7 @@ void slop::Options::printHelp() {
|
35
|
35
|
printf( " in seconds.\n" );
|
36
|
36
|
printf( " -nd, --nodecorations attempts to remove decorations from window selections.\n" );
|
37
|
37
|
printf( " -min=INT, --minimumsize=INT sets the minimum output of width or height values, useful to avoid outputting 0\n" );
|
38
|
|
- printf( " -max=INT, --maxsize=INT sets the maximum output of width or height values.\n" );
|
|
38
|
+ printf( " -max=INT, --maximumsize=INT sets the maximum output of width or height values.\n" );
|
39
|
39
|
printf( " widths or heights.\n" );
|
40
|
40
|
printf( " -v, --version prints version.\n" );
|
41
|
41
|
printf( "\n" );
|
|
@@ -68,7 +68,7 @@ int slop::Options::parseOptions( int argc, char** argv ) {
|
68
|
68
|
if ( err ) {
|
69
|
69
|
return 1;
|
70
|
70
|
}
|
71
|
|
- } else if ( matches( arg, "-max=", "--minimumsize=" ) ) {
|
|
71
|
+ } else if ( matches( arg, "-max=", "--maximumsize=" ) ) {
|
72
|
72
|
int err = parseInt( arg, &m_maximumsize );
|
73
|
73
|
if ( err ) {
|
74
|
74
|
return 1;
|