فهرست منبع

Updated description of command-line arguments

Taddeus Kroes 13 سال پیش
والد
کامیت
e288089d39
1فایلهای تغییر یافته به همراه6 افزوده شده و 7 حذف شده
  1. 6 7
      generate.py

+ 6 - 7
generate.py

@@ -306,18 +306,17 @@ if __name__ == '__main__':  # pragma: nocover
                         help='MySQL password')
     parser.add_argument('--has-one', nargs=2, dest='opt_has_one',
                         help='one-to-one relationships of the form '
-                        '\'payment-receipt\', where one payment has one '
+                        '\'payment receipt\', where one payment has one '
                         'receipt', action='append', default=[])
     parser.add_argument('--namespace', default='', dest='opt_namespace',
                         help='PHP namespace to create models classes in')
     parser.add_argument('--create-select', action='store_true',
-                        help='whether to skip creation of the \'select\' '
-                             'option in relations', dest='opt_create_select')
+                        help='whether to create the \'select\' option in '
+                             'relations', dest='opt_create_select')
     parser.add_argument('--create-accessible', dest='opt_create_accessible',
-                        help='whether to skip creation of the '
-                             '\'$attr_accessible\' variable, containing all '
-                             'attributes except primary or foreing keys',
-                        action='store_true')
+                        help='whether to create the \'$attr_accessible\' '
+                             'variable, containing all ' 'attributes except '
+                             'primary or foreing keys', action='store_true')
     parser.add_argument('-a', '--create-all', action='store_true',
                         help='create all available options and variables')
     parser.add_argument('-d', '--dir', help='directory to save model files in')