-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
bugDid we break something?Did we break something?uiuser interface / interactionuser interface / interaction
Description
Bug Report
Help output indicates targets are optional, but an error is thrown if not provided:
λ dvc plots show -h
usage: dvc plots show [-h] [-q | -v] [-t [TEMPLATE]] [-o OUT] [-x X] [-y Y] [--no-csv-header] [--show-json] [--title TITLE] [--xlab XLAB]
[--ylab YLAB]
[targets [targets ...]]
...
positional arguments:
targets Metrics files to visualize. Shows all plots by default.
λ dvc plots show
ERROR: Datafile or template is not specified.-
I assume targets are indeed required so they should be printed without[]in the usage, and the param description should not read "Shows all plots by default."
UPDATE: Improve the error message when there are no plots in the workspace.- and update docs (figure out exact behavior first)
-
Also note that the error uses the term "Datafile" which is confusing as it's no longer the name of the argument — Let's probably review this term all over the code base, not just in this one message?
Please provide information about your setup
DVC 1.0.0a6+283718
Metadata
Metadata
Assignees
Labels
bugDid we break something?Did we break something?uiuser interface / interactionuser interface / interaction