pages*: make help and version commands comply with the style guide (#12107)
* pages*: use generic word for help * git: add newline to the end Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * pages*: make help and version commands comply with the style guide * java: fix Java name --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
@@ -23,6 +23,6 @@
|
||||
|
||||
`azcopy sync '{{path\to\source_directory}}' 'https://{{storage_account_name}}.blob.core.windows.net/{{container_name}}' --recursive --delete-destination=true`
|
||||
|
||||
- Display detailed usage information:
|
||||
- Display help:
|
||||
|
||||
`azcopy --help`
|
||||
|
@@ -8,14 +8,14 @@
|
||||
|
||||
`choco {{command}}`
|
||||
|
||||
- Call general help:
|
||||
- Display help:
|
||||
|
||||
`choco -?`
|
||||
|
||||
- Call help on a specific command:
|
||||
- Display help for a specific command:
|
||||
|
||||
`choco {{command}} -?`
|
||||
|
||||
- Check the Chocolatey version:
|
||||
- Display version:
|
||||
|
||||
`choco --version`
|
||||
|
@@ -3,10 +3,6 @@
|
||||
> In PowerShell, this command may be an alias of `Invoke-WebRequest` when the original `curl` program (<https://curl.se>) is not properly installed.
|
||||
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-webrequest>.
|
||||
|
||||
- Check whether `curl` is properly installed by printing its version number. If this command evaluates into an error, PowerShell may have substituted this command with `Invoke-WebRequest`:
|
||||
|
||||
`curl --version`
|
||||
|
||||
- View documentation for the original `curl` command:
|
||||
|
||||
`tldr curl -p common`
|
||||
@@ -14,3 +10,7 @@
|
||||
- View documentation for PowerShell's `Invoke-WebRequest` command:
|
||||
|
||||
`tldr invoke-webrequest`
|
||||
|
||||
- Check whether `curl` is properly installed by printing its version number. If this command evaluates into an error, PowerShell may have substituted this command with `Invoke-WebRequest`:
|
||||
|
||||
`curl --version`
|
||||
|
@@ -27,6 +27,6 @@
|
||||
|
||||
`driverquery /v`
|
||||
|
||||
- Display detailed usage information:
|
||||
- Display help:
|
||||
|
||||
`driverquery /?`
|
||||
|
@@ -31,6 +31,6 @@
|
||||
|
||||
`mdelete {{*.txt}}`
|
||||
|
||||
- Display detailed help:
|
||||
- Display help:
|
||||
|
||||
`ftp --help`
|
||||
|
@@ -23,6 +23,6 @@
|
||||
|
||||
`getmac /v`
|
||||
|
||||
- Display detailed usage information:
|
||||
- Display help:
|
||||
|
||||
`getmac /?`
|
||||
|
@@ -15,6 +15,6 @@
|
||||
|
||||
`gpupdate /force`
|
||||
|
||||
- Display detailed usage information:
|
||||
- Display help:
|
||||
|
||||
`gpupdate /?`
|
||||
|
@@ -27,6 +27,6 @@
|
||||
|
||||
`more {{path\to\file}} /e`
|
||||
|
||||
- Display full usage information:
|
||||
- Display help:
|
||||
|
||||
`more /?`
|
||||
|
@@ -31,6 +31,6 @@
|
||||
|
||||
`pathping {{hostname}} -6`
|
||||
|
||||
- Display detailed usage information:
|
||||
- Display help:
|
||||
|
||||
`pathping /?`
|
||||
|
@@ -19,6 +19,6 @@
|
||||
|
||||
`psping {{hostname}}:{{port}} -q -n {{50}} -h`
|
||||
|
||||
- Display usage information:
|
||||
- Display help:
|
||||
|
||||
`psping /?`
|
||||
|
@@ -7,10 +7,6 @@
|
||||
|
||||
`reg flags {{key_name}} query`
|
||||
|
||||
- Display help and available flag types:
|
||||
|
||||
`reg flags /?`
|
||||
|
||||
- Set specified space-separated flags, and unset unmentioned flags, for a specific key:
|
||||
|
||||
`reg flags {{key_name}} set {{flag_names}}`
|
||||
@@ -18,3 +14,7 @@
|
||||
- Set specified flags for a specific key and its sub keys:
|
||||
|
||||
`reg flags {{key_name}} set {{flag_names}} /s`
|
||||
|
||||
- Display help and available flag types:
|
||||
|
||||
`reg flags /?`
|
||||
|
@@ -12,6 +12,6 @@
|
||||
|
||||
`reg /?`
|
||||
|
||||
- Call help on a specific command:
|
||||
- Display help for a specific command:
|
||||
|
||||
`reg {{command}} /?`
|
||||
|
@@ -31,6 +31,6 @@
|
||||
|
||||
`repair-bde {{C:}} -LogFile {{path\to\file}}`
|
||||
|
||||
- Display all available options:
|
||||
- Display help:
|
||||
|
||||
`repair-bde /?`
|
||||
|
@@ -32,6 +32,6 @@
|
||||
|
||||
`replace {{path\to\file_or_directory}} {{path\to\destination_directory}} /u`
|
||||
|
||||
- Display detailed usage information:
|
||||
- Display help:
|
||||
|
||||
`replace /?`
|
||||
|
@@ -28,6 +28,6 @@
|
||||
|
||||
`robocopy {{path\to\source_directory}} {{path\to\destination_directory}} /Z /R:5 /W:15`
|
||||
|
||||
- Display detailed usage information:
|
||||
- Display help:
|
||||
|
||||
`robocopy /?`
|
||||
|
@@ -15,6 +15,6 @@
|
||||
|
||||
`systeminfo /s {{remote_name}} /u {{username}} /p {{password}}`
|
||||
|
||||
- Display detailed usage information:
|
||||
- Display help:
|
||||
|
||||
`systeminfo /?`
|
||||
|
@@ -1,12 +1,9 @@
|
||||
# wget
|
||||
|
||||
> In PowerShell, this command may be an alias of `Invoke-WebRequest` when the original `wget` program (<https://www.gnu.org/software/wget>) is not properly installed.
|
||||
> NOTE: if version command returns an error, PowerShell may have substituted this command with `Invoke-WebRequest`.
|
||||
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-webrequest>.
|
||||
|
||||
- Check whether `wget` is properly installed by printing its version number. If this command evaluates into an error, PowerShell may have substituted this command with `Invoke-WebRequest`:
|
||||
|
||||
`wget --version`
|
||||
|
||||
- View documentation for the original `wget` command:
|
||||
|
||||
`tldr wget -p common`
|
||||
@@ -14,3 +11,7 @@
|
||||
- View documentation for PowerShell's `Invoke-WebRequest` command:
|
||||
|
||||
`tldr invoke-webrequest`
|
||||
|
||||
- Display version:
|
||||
|
||||
`wget --version`
|
||||
|
@@ -31,6 +31,6 @@
|
||||
|
||||
`xcopy {{path\to\file_or_directory}} {{path\to\destination_directory}} /y`
|
||||
|
||||
- Display detailed usage information:
|
||||
- Display help:
|
||||
|
||||
`xcopy /?`
|
||||
|
Reference in New Issue
Block a user