Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what does angle brackets mean in documentation? [duplicate]

little did i know. that square brackets [option] are used to indicate a parameter that is optional. such as function(param1 [, param2]) which indicate that param1 is required and param2 is optional.

but what about angle brackets <something> and -- mean in documentation? such as;

git config [<file-option>] [--type=<type>] --add name value

and what does --type=<type> mean?

thank you for your answers

like image 725
Ghani Avatar asked Aug 13 '26 17:08

Ghani


1 Answers

Angle brackets or italics indicate identifier/parameter/argument values that are provided by users.

like image 109
Aakash Dusane Avatar answered Aug 16 '26 10:08

Aakash Dusane