Skip to content

Commit

Permalink
Adjust examples for object type argument (#1302)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pczajka committed Jul 10, 2024
1 parent c10e116 commit 3383eae
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/snowflake/cli/plugins/object/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

NameArgument = typer.Argument(help="Name of the object")
ObjectArgument = typer.Argument(
help="Type of object. For example table, procedure, streamlit.",
help="Type of object. For example table, database, compute-pool.",
case_sensitive=False,
show_default=False,
)
Expand Down
16 changes: 8 additions & 8 deletions tests/__snapshots__/test_help_messages.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -2261,8 +2261,8 @@

+- Arguments ------------------------------------------------------------------+
| * object_type TEXT Type of object. For |
| example table, |
| procedure, streamlit. |
| example table, database, |
| compute-pool. |
| [required] |
| object_attributes [OBJECT_ATTRIBUTES]... Object attributes |
| provided as a list of |
Expand Down Expand Up @@ -2349,8 +2349,8 @@
secret, service, stage, stream, streamlit, table, task, user, view, warehouse

+- Arguments ------------------------------------------------------------------+
| * object_type TEXT Type of object. For example table, procedure, |
| streamlit. |
| * object_type TEXT Type of object. For example table, database, |
| compute-pool. |
| [required] |
| * object_name TEXT Name of the object [default: None] [required] |
+------------------------------------------------------------------------------+
Expand Down Expand Up @@ -2424,8 +2424,8 @@
task, user, view, warehouse

+- Arguments ------------------------------------------------------------------+
| * object_type TEXT Type of object. For example table, procedure, |
| streamlit. |
| * object_type TEXT Type of object. For example table, database, |
| compute-pool. |
| [required] |
| * object_name TEXT Name of the object [default: None] [required] |
+------------------------------------------------------------------------------+
Expand Down Expand Up @@ -2499,8 +2499,8 @@
task, user, view, warehouse

+- Arguments ------------------------------------------------------------------+
| * object_type TEXT Type of object. For example table, procedure, |
| streamlit. |
| * object_type TEXT Type of object. For example table, database, |
| compute-pool. |
| [required] |
+------------------------------------------------------------------------------+
+- Options --------------------------------------------------------------------+
Expand Down

0 comments on commit 3383eae

Please sign in to comment.