Skip to content

Commit

Permalink
feat: removed information about the type of the shell's options from …
Browse files Browse the repository at this point in the history
…their list

FossilOrigin-Name: d6fd49ff610366bb7daa9a724bed8f574efea26ae524a6c94a6333747ede7766
  • Loading branch information
thindil committed Dec 18, 2023
1 parent 56996e7 commit f70c836
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/options.nim
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,7 @@ proc showOptions*(db): ResultCode {.sideEffect, raises: [], tags: [
try:
let color: string = getColor(db = db, name = tableHeaders)
table.add(parts = [style(ss = "Name", style = color), style(ss = "Value",
style = color), style(ss = "Type", style = color), style(
ss = "Description", style = color)])
style = color), style(ss = "Description", style = color)])
except UnknownEscapeError, InsufficientInputError, FinalByteError:
return showError(message = "Can't show options list. Reason: ",
e = getCurrentException(), db = db)
Expand All @@ -222,8 +221,7 @@ proc showOptions*(db): ResultCode {.sideEffect, raises: [], tags: [
value &= " (changed)"
table.add(parts = [style(ss = option.option, style = getColor(db = db,
name = ids)), style(ss = value, style = getColor(db = db,
name = values)), style(ss = $option.valueType, style = color),
style(ss = option.description, style = color)])
name = values)), style(ss = option.description, style = color)])
except:
return showError(message = "Can't show the shell's options. Reason: ",
e = getCurrentException(), db = db)
Expand Down

0 comments on commit f70c836

Please sign in to comment.