Skip to content

Commit

Permalink
Be --verbose by default
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Apr 10, 2024
1 parent ab0cbc6 commit 97816c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/backlog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ Iteration +1
- [o] More refinements
- [o] ``list-buckets`` subcommand, for both API and data directory
- [o] Progress bars for non-Dask tasks
- [o] Verbose by default?


************
Expand Down Expand Up @@ -74,3 +73,4 @@ Done
- [x] Fix ``.from_lineprotocol``
- [x] Parameters bucket-id and measurement are obligatory on data
directory export. Verify that.
- [x] Be ``--verbose`` by default
2 changes: 1 addition & 1 deletion influxio/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def help_copy():

@click.group()
@click.version_option(package_name="influxio")
@click.option("--verbose", is_flag=True, required=False, help="Turn on logging")
@click.option("--verbose", is_flag=True, required=False, default=True, help="Turn on logging")
@click.option("--debug", is_flag=True, required=False, help="Turn on logging with debug level")
@click.pass_context
def cli(ctx: click.Context, verbose: bool, debug: bool):
Expand Down

0 comments on commit 97816c6

Please sign in to comment.