From 24e7e8a9d5b045395dd8b34fadd2e89dd41393f6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 5 Nov 2014 11:43:58 +0100 Subject: [PATCH] bam: default to basedir when no args given - for commit and list --- client/cli/bam.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/cli/bam.py b/client/cli/bam.py index e2bfd36..a018a62 100755 --- a/client/cli/bam.py +++ b/client/cli/bam.py @@ -305,7 +305,7 @@ def subcommand_checkout_cb(args): def subcommand_commit_cb(args): - bam_utils.commit(args.paths, args.message) + bam_utils.commit(args.paths or ["."], args.message) def subcommand_update_cb(args): @@ -317,7 +317,7 @@ def subcommand_revert_cb(args): def subcommand_list_cb(args): - bam_utils.list_dir(args.paths) + bam_utils.list_dir(args.paths or ["."]) def subcommand_status_cb(args):