Commit e288089d authored by Taddeus Kroes's avatar Taddeus Kroes

Updated description of command-line arguments

parent f6177884
......@@ -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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment