summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-03 05:50:18 -0500
committerJeff Carr <[email protected]>2025-09-03 05:50:18 -0500
commit30dcc8af9f35ed988b79d39121801d3a27a036c2 (patch)
treecfcf83dbf917175d40da3531396ef9462c0ae9a8 /argv.go
parent557a5853a4f77f340697a91f521b02c2034f1a09 (diff)
working on patch handling
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go12
1 files changed, 8 insertions, 4 deletions
diff --git a/argv.go b/argv.go
index 6baab59..e1f855d 100644
--- a/argv.go
+++ b/argv.go
@@ -62,10 +62,14 @@ type CleanDevelCmd struct {
}
type PatchCmd struct {
- List *EmptyCmd `arg:"subcommand:list" help:"your downloaded patchsets"`
- Get *EmptyCmd `arg:"subcommand:get" help:"get the new patchsets"`
- Show *EmptyCmd `arg:"subcommand:show" help:"your pending commits to your code"`
- Submit string `arg:"--submit" help:"submit your commits"`
+ List *EmptyCmd `arg:"subcommand:list" help:"your downloaded patchsets"`
+ Get *EmptyCmd `arg:"subcommand:get" help:"get the new patchsets"`
+ Show *EmptyCmd `arg:"subcommand:show" help:"your pending commits to your code"`
+ Submit *SubmitCmd `arg:"subcommand:submit" help:"submit your commits"`
+}
+
+type SubmitCmd struct {
+ Match string `arg:"positional"`
}
type PullCmd struct {