Remove requirement of "-l" flag when "--logs-no-default" is set
This commit is contained in:
parent
7f1e4ddf69
commit
3ca71788b8
@ -102,7 +102,7 @@ def parse_args():
|
|||||||
parser.add_argument('--logs-no-default',
|
parser.add_argument('--logs-no-default',
|
||||||
help=('Do not use default log collection parameters,'
|
help=('Do not use default log collection parameters,'
|
||||||
' only use what has been set up either via -L'
|
' only use what has been set up either via -L'
|
||||||
' or in rqfile(s).'),
|
' or in rqfile(s). Implies "-l".'),
|
||||||
action='store_true')
|
action='store_true')
|
||||||
parser.add_argument('--fuel-ip', help='fuel ip address')
|
parser.add_argument('--fuel-ip', help='fuel ip address')
|
||||||
parser.add_argument('--fuel-user', help='fuel username')
|
parser.add_argument('--fuel-user', help='fuel username')
|
||||||
@ -200,6 +200,7 @@ def main(argv=None):
|
|||||||
conf['logs']['start'] = args.days
|
conf['logs']['start'] = args.days
|
||||||
if args.logs_no_default:
|
if args.logs_no_default:
|
||||||
conf['logs'] = []
|
conf['logs'] = []
|
||||||
|
args.logs = True
|
||||||
if args.get_logs:
|
if args.get_logs:
|
||||||
args.logs = True
|
args.logs = True
|
||||||
if type(conf['logs']) is not list:
|
if type(conf['logs']) is not list:
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
project_name = 'timmy'
|
project_name = 'timmy'
|
||||||
version = '1.10.1'
|
version = '1.10.2'
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
exit(0)
|
exit(0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user