浏览代码

cmd_acc: set default value for table names cli parameters

- GH #19
Daniel-Constantin Mierla 2 年之前
父节点
当前提交
66ac5cd109
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      kamcli/commands/cmd_acc.py

+ 2 - 2
kamcli/commands/cmd_acc.py

@@ -295,7 +295,7 @@ def acc_cdrs_list(ctx, oformat, ostyle, limit):
 @click.option(
     "dbtname",
     "--dbtname",
-    default="",
+    default="billing_rates",
     help='The name of the database table (default: "billing_rates")',
 )
 @click.argument("rate_group", metavar="<rate_group>")
@@ -335,7 +335,7 @@ def acc_rates_add(ctx, dbtname, rate_group, prefix, rate_unit, time_unit):
 @click.option(
     "dbtname",
     "--dbtname",
-    default="",
+    default="billing_rates",
     help='The name of the database table (default: "billing_rates")',
 )
 @click.argument("rate_group", metavar="<rate_group>")