Skip to content

Commit

Permalink
t/l/f/c/fakestore: make help text on command args more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewphelpsj committed Dec 20, 2024
1 parent 88abf0a commit 54fce9d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/lib/fakestore/cmd/fakestore/cmd_new_snap_decl.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (

type cmdNewSnapDeclaration struct {
Positional struct {
Snap string `description:"Snap file"`
Snap string `description:"Path to a snap file"`
} `positional-args:"yes"`

TopDir string `long:"dir" description:"Directory to be used by the store to keep and serve snaps, <dir>/asserts is used for assertions"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

type cmdNewSnapResourcePair struct {
Positional struct {
Component string `description:"Component blob file"`
Component string `description:"Path to a component blob file"`
SnapResourcePairJSONPath string `description:"Path to a json encoded snap resource pair revision subset"`
} `positional-args:"yes" required:"yes"`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

type cmdNewSnapResourceRevision struct {
Positional struct {
Component string `description:"Component blob file"`
Component string `description:"Path to a component blob file"`
SnapResourceRevJsonPath string `description:"Path to a json encoded snap resource revision subset"`
} `positional-args:"yes" required:"yes"`

Expand Down
2 changes: 1 addition & 1 deletion tests/lib/fakestore/cmd/fakestore/cmd_new_snap_rev.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (

type cmdNewSnapRevision struct {
Positional struct {
Snap string `description:"Snap file"`
Snap string `description:"Path to a snap file"`
} `positional-args:"yes"`

TopDir string `long:"dir" description:"Directory to be used by the store to keep and serve snaps, <dir>/asserts is used for assertions"`
Expand Down

0 comments on commit 54fce9d

Please sign in to comment.