Flag

An option added to a command, which starts with “-” or “--”. For example, in “claude --model opus”, “--model” is a flag.

You’ll also find it as: flags

How it appears in the course

Besides -p, you can add “flags”. A flag is an option written after the command, which starts with - or --. Like the checkboxes on a form.
What settings can you give the command? · Module 10, Claude on autopilot
claude_args:: the same flags as above. At most 10 steps, with the Sonnet model.
How do you make Claude check every PR automatically? · Module 10, Claude on autopilot
Flags are options you write after a command, for example claude --model opus.
Where do the settings files live, and which one matters most? · Module 03, Permissions: what Claude may do

Where you learn it

In module 10 · Claude on autopilot, in the Claude Code for Beginners course.

Related terms

Learn Claude Code from zero, in plain English

12 modules with 1–2 minute lessons, which you can also do on your phone. The first two modules are free.