Browse Source

cmd_acc: set default value for table names cli parameters

- GH #19
Daniel-Constantin Mierla 2 years ago
parent
commit
66ac5cd109
1 changed files with 2 additions and 2 deletions
  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>")