Skip to content

Commit d5ec0e6

Browse files
authored
Merge pull request #1291 from nickhammond/remove-grep-options-alias
Remove the alias for grep_options, issues processing with thor
2 parents 16fb3ad + b2cf3f3 commit d5ec0e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/kamal/cli/accessory.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def exec(name, *cmd)
162162
option :since, aliases: "-s", desc: "Show logs since timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes)"
163163
option :lines, type: :numeric, aliases: "-n", desc: "Number of log lines to pull from each server"
164164
option :grep, aliases: "-g", desc: "Show lines with grep match only (use this to fetch specific requests by id)"
165-
option :grep_options, aliases: "-o", desc: "Additional options supplied to grep"
165+
option :grep_options, desc: "Additional options supplied to grep"
166166
option :follow, aliases: "-f", desc: "Follow logs on primary server (or specific host set by --hosts)"
167167
option :skip_timestamps, type: :boolean, aliases: "-T", desc: "Skip appending timestamps to logging output"
168168
def logs(name)

lib/kamal/cli/app.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def images
192192
option :since, aliases: "-s", desc: "Show lines since timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes)"
193193
option :lines, type: :numeric, aliases: "-n", desc: "Number of lines to show from each server"
194194
option :grep, aliases: "-g", desc: "Show lines with grep match only (use this to fetch specific requests by id)"
195-
option :grep_options, aliases: "-o", desc: "Additional options supplied to grep"
195+
option :grep_options, desc: "Additional options supplied to grep"
196196
option :follow, aliases: "-f", desc: "Follow log on primary server (or specific host set by --hosts)"
197197
option :skip_timestamps, type: :boolean, aliases: "-T", desc: "Skip appending timestamps to logging output"
198198
option :container_id, desc: "Docker container ID to fetch logs"

0 commit comments

Comments
 (0)