Skip to content

Commit

Permalink
Merge pull request #1432 from swcarpentry/bkmgit-patch-2
Browse files Browse the repository at this point in the history
Move callout on long vs short options
  • Loading branch information
ErinBecker authored Mar 8, 2024
2 parents f40c0b5 + 4c4a681 commit 7e17792
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions episodes/02-filedir.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,18 @@ Mandatory arguments to long options are mandatory for short options, too.

::::::::::::::::::::::::::::::::::::::::: callout

### When to use short or long options
When options exist as both short and long options:

- Use the short option when typing commands directly into the
shell to minimize keystrokes and get your task done faster.
- Use the long option in scripts to provide clarity.
It will be read many times and typed once.

::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::: callout

## Unsupported command-line options

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


::::::::::::::::::::::::::::::::::::::::: callout
### When to use short or long options
When options exist as both short and long options:

- Use the short option when typing commands directly into the
shell to minimize keystrokes and get your task done faster.
- Use the long option in scripts to provide clarity.
It will be read many times and typed once.

::::::::::::::::::::::::::::::::::::::::::::::::::

### Nelle's Pipeline: Organizing Files

Knowing this much about files and directories,
Expand Down

0 comments on commit 7e17792

Please sign in to comment.