Skip to content

Commit

Permalink
Move callout on long vs short options
Browse files Browse the repository at this point in the history
Place it where long and short options are first introduced.
  • Loading branch information
bkmgit authored Aug 10, 2023
1 parent 29db2b9 commit 4c4a681
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 4c4a681

Please sign in to comment.