aboutsummaryrefslogtreecommitdiffstats
path: root/commands/patch
diff options
context:
space:
mode:
Diffstat (limited to 'commands/patch')
-rw-r--r--commands/patch/apply.go6
-rw-r--r--commands/patch/drop.go2
-rw-r--r--commands/patch/find.go4
-rw-r--r--commands/patch/init.go2
-rw-r--r--commands/patch/list.go2
-rw-r--r--commands/patch/patch.go2
-rw-r--r--commands/patch/switch.go2
-rw-r--r--commands/patch/unlink.go2
8 files changed, 11 insertions, 11 deletions
diff --git a/commands/patch/apply.go b/commands/patch/apply.go
index 12f5b3f8..31ca6964 100644
--- a/commands/patch/apply.go
+++ b/commands/patch/apply.go
@@ -15,9 +15,9 @@ import (
)
type Apply struct {
- Cmd string `opt:"-c"`
- Worktree string `opt:"-w"`
- Tag string `opt:"tag" required:"true" complete:"CompleteTag"`
+ Cmd string `opt:"-c" desc:"Apply patches with provided command."`
+ Worktree string `opt:"-w" desc:"Create linked worktree on this <commit-ish>."`
+ Tag string `opt:"tag" required:"true" complete:"CompleteTag" desc:"Identify patches with tag."`
}
func init() {
diff --git a/commands/patch/drop.go b/commands/patch/drop.go
index dbb1fb07..89d574f1 100644
--- a/commands/patch/drop.go
+++ b/commands/patch/drop.go
@@ -11,7 +11,7 @@ import (
)
type Drop struct {
- Tag string `opt:"tag" complete:"CompleteTag"`
+ Tag string `opt:"tag" complete:"CompleteTag" desc:"Repository patch tag."`
}
func init() {
diff --git a/commands/patch/find.go b/commands/patch/find.go
index a74f926e..ab5252c4 100644
--- a/commands/patch/find.go
+++ b/commands/patch/find.go
@@ -15,8 +15,8 @@ import (
)
type Find struct {
- Filter bool `opt:"-f"`
- Commit []string `opt:"..." required:"true" complete:"Complete"`
+ Filter bool `opt:"-f" desc:"Filter message list instead of search."`
+ Commit []string `opt:"..." required:"true" complete:"Complete" desc:"Search for <commit-ish>."`
}
func init() {
diff --git a/commands/patch/init.go b/commands/patch/init.go
index b7316ee4..7640f268 100644
--- a/commands/patch/init.go
+++ b/commands/patch/init.go
@@ -10,7 +10,7 @@ import (
)
type Init struct {
- Force bool `opt:"-f"`
+ Force bool `opt:"-f" desc:"Overwrite any existing project."`
Name string `opt:"name" required:"false"`
}
diff --git a/commands/patch/list.go b/commands/patch/list.go
index a9c68e4d..f4a1e5e9 100644
--- a/commands/patch/list.go
+++ b/commands/patch/list.go
@@ -18,7 +18,7 @@ import (
)
type List struct {
- All bool `opt:"-a"`
+ All bool `opt:"-a" desc:"List all projects."`
}
func init() {
diff --git a/commands/patch/patch.go b/commands/patch/patch.go
index 0e19d888..8e280398 100644
--- a/commands/patch/patch.go
+++ b/commands/patch/patch.go
@@ -23,7 +23,7 @@ func register(cmd commands.Command) {
}
type Patch struct {
- SubCmd commands.Command `opt:"command" action:"ParseSub" complete:"CompleteSubNames"`
+ SubCmd commands.Command `opt:"command" action:"ParseSub" complete:"CompleteSubNames" desc:"Sub command."`
Args string `opt:"..." required:"false" complete:"CompleteSubArgs"`
}
diff --git a/commands/patch/switch.go b/commands/patch/switch.go
index 9eb26ef2..3eea1268 100644
--- a/commands/patch/switch.go
+++ b/commands/patch/switch.go
@@ -11,7 +11,7 @@ import (
)
type Switch struct {
- Project string `opt:"project" complete:"Complete"`
+ Project string `opt:"project" complete:"Complete" desc:"Project name."`
}
func init() {
diff --git a/commands/patch/unlink.go b/commands/patch/unlink.go
index da21c15e..5c47d89f 100644
--- a/commands/patch/unlink.go
+++ b/commands/patch/unlink.go
@@ -11,7 +11,7 @@ import (
)
type Unlink struct {
- Tag string `opt:"tag" required:"false" complete:"Complete"`
+ Tag string `opt:"tag" required:"false" complete:"Complete" desc:"Project tag name."`
}
func init() {