Skip to content

Commit 7e17792

Browse files
authored
Merge pull request #1432 from swcarpentry/bkmgit-patch-2
Move callout on long vs short options
2 parents f40c0b5 + 4c4a681 commit 7e17792

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

episodes/02-filedir.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,18 @@ Mandatory arguments to long options are mandatory for short options, too.
263263

264264
::::::::::::::::::::::::::::::::::::::::: callout
265265

266+
### When to use short or long options
267+
When options exist as both short and long options:
268+
269+
- Use the short option when typing commands directly into the
270+
shell to minimize keystrokes and get your task done faster.
271+
- Use the long option in scripts to provide clarity.
272+
It will be read many times and typed once.
273+
274+
::::::::::::::::::::::::::::::::::::::::::::::::::
275+
276+
::::::::::::::::::::::::::::::::::::::::: callout
277+
266278
## Unsupported command-line options
267279

268280
If you try to use an option that is not supported, `ls` and other commands
@@ -833,18 +845,6 @@ Library/ Users/
833845
Network/ Volumes/
834846
```
835847

836-
837-
::::::::::::::::::::::::::::::::::::::::: callout
838-
### When to use short or long options
839-
When options exist as both short and long options:
840-
841-
- Use the short option when typing commands directly into the
842-
shell to minimize keystrokes and get your task done faster.
843-
- Use the long option in scripts to provide clarity.
844-
It will be read many times and typed once.
845-
846-
::::::::::::::::::::::::::::::::::::::::::::::::::
847-
848848
### Nelle's Pipeline: Organizing Files
849849

850850
Knowing this much about files and directories,

0 commit comments

Comments
 (0)