Skip to content

Commit

Permalink
Add the -D/--debug option to display debug traces (#131)
Browse files Browse the repository at this point in the history
* Add the -D/--debug option to documentation

* Add the -D/--debug option to shell completions

* Add the -D/--debug option to the main script

* Add the -D/--debug option to the french translation
  • Loading branch information
Antiz96 authored Mar 22, 2024
1 parent 1339d5a commit 16441f4
Show file tree
Hide file tree
Showing 10 changed files with 204 additions and 165 deletions.
1 change: 1 addition & 0 deletions README-fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ Options :
-l, --list Afficher la liste des mises à jour en attente
-d, --devel Inclure les mises à jour des paquets de développement AUR
-n, --news [Num] Afficher les dernieres Arch News, vous pouvez optionellement spécifier le nombre de Arch news à afficher avec `--news [Num]` (e.g. `--news 10`)
-D, --debug Afficher les traces de débogage
-h, --help Afficher ce message d'aide et quitter
-V, --version Afficher les informations de version et quitter
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ Options:
-l, --list Display the list of pending updates
-d, --devel Include AUR development packages updates
-n, --news [Num] Display latest Arch News, you can optionally specify the number of Arch news to display with `--news [Num]` (e.g. `--news 10`)
-D, --debug Display debug traces
-h, --help Display this help message and exit
-V, --version Display version information and exit
Expand Down
4 changes: 4 additions & 0 deletions doc/man/arch-update.1
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ Display latest Arch news.
.br
.RB "You can optionally specify how much Arch news to display as an argument, like so: " "arch-update --news 10" ". Defaults to 5."

.TP
.B \-D, \-\-debug
Display debug traces

.TP
.B \-v, \-\-version
Display version information.
Expand Down
4 changes: 4 additions & 0 deletions doc/man/fr/arch-update.1
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ Afficher les dernières Arch news.
.br
.RB "Vous pouvez optionellement spécifier combien de Arch news afficher en tant qu'argument, comme ceci : " "arch-update --news 10" ". La valeur par défaut est 5."

.TP
.B \-D, \-\-debug
Afficher les traces de débogage

.TP
.B \-v, \-\-version
Afficher les informations de version.
Expand Down
Loading

0 comments on commit 16441f4

Please sign in to comment.