mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-09-19 01:43:18 +08:00
*: use simulate instead of dry-run (#24003)
Co-authored-by: TheRootDaemon <harsha.manjula.venkataramanan@gmail.com> Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
This commit is contained in:
co-authored by
TheRootDaemon
Ivan Baluta
parent
3bc298f19c
commit
07da72d443
+1
-1
@@ -19,7 +19,7 @@
|
||||
|
||||
`act {{[-j|--job]}} {{job_id}}`
|
||||
|
||||
- Do [n]ot actually run the actions (i.e. a dry run):
|
||||
- Simulate running the actions without actually doing it:
|
||||
|
||||
`act {{[-n|--dryrun]}}`
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
`bun link --cwd {{path/to/package}}`
|
||||
|
||||
- Perform a dry run without actually linking:
|
||||
- Simulate linking without actually doing it:
|
||||
|
||||
`bun link --dry-run`
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
`bun publish --registry {{registry}}`
|
||||
|
||||
- Run a dry run to see what would be published without uploading:
|
||||
- Simulate what would be published without uploading:
|
||||
|
||||
`bun publish --dry-run`
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
`bun unlink --cwd {{path/to/package}}`
|
||||
|
||||
- Perform a dry run without actually unregistering:
|
||||
- Simulate unregistering without actually doing it:
|
||||
|
||||
`bun unlink --dry-run`
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
`docker compose {{[-f|--file]}} {{path/to/compose_file}} stop`
|
||||
|
||||
- Dry run (show operations without executing):
|
||||
- Simulate running the operations without executing:
|
||||
|
||||
`docker compose stop --dry-run`
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
`helm install {{repository_name}}/{{chart_name}} {{[-g|--generate-name]}}`
|
||||
|
||||
- Perform a dry run:
|
||||
- Simulate an install without actually doing it:
|
||||
|
||||
`helm install {{name}} {{repository_name}}/{{chart_name}} --dry-run`
|
||||
|
||||
|
||||
@@ -20,6 +20,6 @@
|
||||
|
||||
`kubectl cordon {{[-l|--selector]}} {{label_key}}={{label_value}}`
|
||||
|
||||
- Preview the changes without actually cordoning the nodes (dry run):
|
||||
- Simulate the changes without actually cordoning the nodes:
|
||||
|
||||
`kubectl cordon {{node_name}} --dry-run={{none|server|client}}`
|
||||
|
||||
@@ -32,6 +32,6 @@
|
||||
|
||||
`kubectl drain {{node_name}} --timeout {{duration}}`
|
||||
|
||||
- Preview the drain operation without actually evicting pods (dry run):
|
||||
- Simulate the drain operation without actually evicting pods:
|
||||
|
||||
`kubectl drain {{node_name}} --dry-run={{none|server|client}}`
|
||||
|
||||
@@ -20,6 +20,6 @@
|
||||
|
||||
`kubectl uncordon {{[-l|--selector]}} {{label_key}}={{label_value}}`
|
||||
|
||||
- Preview the changes without actually uncordoning the nodes (dry run):
|
||||
- Simulate the changes without actually uncordoning the nodes:
|
||||
|
||||
`kubectl uncordon {{node_name}} --dry-run={{none|server|client}}`
|
||||
|
||||
@@ -27,6 +27,6 @@
|
||||
|
||||
`ng add {{package}} --verbose`
|
||||
|
||||
- Perform a dry run without making any changes:
|
||||
- Simulate an addition without making any changes:
|
||||
|
||||
`ng add {{package}} {{[-d|--dry-run]}}`
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
`npm pack {{path/to/package_directory}}`
|
||||
|
||||
- Run a dry run to preview the tarball contents without creating it:
|
||||
- Simulate the tarball creation without creating it:
|
||||
|
||||
`npm pack --dry-run`
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
`npm publish --registry {{https://registry.npmjs.org/}}`
|
||||
|
||||
- Run a dry run to see what would be published without uploading:
|
||||
- Simulate what would be published without uploading:
|
||||
|
||||
`npm publish --dry-run`
|
||||
|
||||
|
||||
@@ -19,6 +19,6 @@
|
||||
|
||||
`npm unpublish {{package_name}} --timeout {{time_in_milliseconds}}`
|
||||
|
||||
- Dry run to see what would be unpublished without actually doing it:
|
||||
- Simulate what would be unpublished without actually doing it:
|
||||
|
||||
`npm unpublish {{package_name}} --dry-run`
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
`pg_createsubscriber {{[-d|--database]}} {{dbname}} {{[-D|--pgdata]}} {{path/to/data}} {{[-P|--publisher-server]}} {{connstr}}`
|
||||
|
||||
- Perform a dry run without modifying the target directory:
|
||||
- Simulate converting a physical replica to a logical replica without modifying the target directory:
|
||||
|
||||
`pg_createsubscriber {{[-n|--dry-run]}} {{[-d|--database]}} {{dbname}} {{[-D|--pgdata]}} {{path/to/data}} {{[-P|--publisher-server]}} {{connstr}}`
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
`poetry publish {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}}`
|
||||
|
||||
- Perform a dry run to see what would be done without actually publishing:
|
||||
- Simulate publishing the current package without actually publishing it:
|
||||
|
||||
`poetry publish --dry-run`
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Remove AppArmor profiles that are no longer present in the configuration directory.
|
||||
> More information: <https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-remove-unknown.8>.
|
||||
|
||||
- Perform a dry run to see which profiles would be removed:
|
||||
- Simulate removing profiles and display which ones would be removed:
|
||||
|
||||
`sudo aa-remove-unknown -n`
|
||||
|
||||
|
||||
@@ -19,6 +19,6 @@
|
||||
|
||||
`b4 send --resend {{version_number}}`
|
||||
|
||||
- Perform a dry run without sending any mail:
|
||||
- Simulate sending the path series without sending any mail:
|
||||
|
||||
`b4 send {{[-d|--dry-run]}}`
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Generate a GRUB configuration file.
|
||||
> More information: <https://www.gnu.org/software/grub/manual/grub/grub.html#Invoking-grub_002dmkconfig>.
|
||||
|
||||
- Do a dry run and print the configuration to `stdout`:
|
||||
- Simulate generating a GRUB configuration and print it to `stdout`:
|
||||
|
||||
`sudo grub-mkconfig`
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
> Part of `util-linux`, useful for saving disk space when identical files exist across directories.
|
||||
> More information: <https://manned.org/hardlink>.
|
||||
|
||||
- Perform a dry run without modifying files:
|
||||
- Simulate hardlinking duplicate files without modifying them:
|
||||
|
||||
`hardlink {{[-n|--dry-run]}} {{path/to/directory}}`
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Generate initial ramdisk environments for booting the Linux kernel based on the specified preset(s).
|
||||
> More information: <https://manned.org/mkinitcpio>.
|
||||
|
||||
- Perform a dry run (print what would be done without actually doing it):
|
||||
- Simulate generating the initial ramdisk environments and print what would be done:
|
||||
|
||||
`mkinitcpio`
|
||||
|
||||
|
||||
@@ -23,6 +23,6 @@
|
||||
|
||||
`sudo rtcwake {{[-m|--mode]}} disable`
|
||||
|
||||
- Perform a dry run to wakeup the computer at a given time. (Press `<Ctrl c>` to abort):
|
||||
- Simulate waking up the computer at a given time. (Press `<Ctrl c>` to abort):
|
||||
|
||||
`sudo rtcwake {{[-m|--mode]}} on --date {{hh:ss}}`
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
`sudo wipefs {{[-a|--all]}} {{/dev/sdX}}*`
|
||||
|
||||
- Perform dry run:
|
||||
- Simulate wiping all signature types from a device without actually modifying it:
|
||||
|
||||
`sudo wipefs {{[-a|--all]}} {{[-n|--no-act]}} {{/dev/sdX}}`
|
||||
|
||||
|
||||
@@ -12,6 +12,6 @@
|
||||
|
||||
`pkg_delete -a {{package}}`
|
||||
|
||||
- Dry-run deletion of a package:
|
||||
- Simulate deleting a package:
|
||||
|
||||
`pkg_delete -n {{package}}`
|
||||
|
||||
+2
-2
@@ -11,11 +11,11 @@
|
||||
|
||||
`goku --config {{path/to/config.edn}}`
|
||||
|
||||
- Dry run the new configuration into `stdout` instead of updating `karabiner.json`:
|
||||
- Simulate generating the new configuration and print it to `stdout` instead of updating `karabiner.json`:
|
||||
|
||||
`goku --dry-run`
|
||||
|
||||
- Dry run the whole configuration into `stdout` instead of updating `karabiner.json`:
|
||||
- Simulate generating the whole configuration and print it to `stdout` instead of updating `karabiner.json`:
|
||||
|
||||
`goku --dry-run-all`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user