mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
1. Disable `--update` option from command because it alters binary from remote 2. install wiki pages Signed-off-by: Rahil Bhimjiani <me@rahil.rocks>
20 lines
759 B
Diff
20 lines
759 B
Diff
diff --git a/internal/home/options.go b/internal/home/options.go
|
|
index d32aaa1..4503dad 100644
|
|
--- a/internal/home/options.go
|
|
+++ b/internal/home/options.go
|
|
@@ -243,14 +243,6 @@ var cmdLineOpts = []cmdLineOpt{{
|
|
description: "Don't check for updates.",
|
|
longName: "no-check-update",
|
|
shortName: "",
|
|
-}, {
|
|
- updateWithValue: nil,
|
|
- updateNoValue: func(o options) (options, error) { o.performUpdate = true; return o, nil },
|
|
- effect: nil,
|
|
- serialize: func(o options) (val string, ok bool) { return "", o.performUpdate },
|
|
- description: "Update the current binary and restart the service in case it's installed.",
|
|
- longName: "update",
|
|
- shortName: "",
|
|
}, {
|
|
updateWithValue: nil,
|
|
updateNoValue: nil,
|