瀏覽代碼

Fixed mistake

Dalton Nell 9 年之前
父節點
當前提交
8cf798f908
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      options.cpp

+ 3
- 3
options.cpp 查看文件

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