bdep-common-options(1)
π bdep-common-options π
okay bestie, welcome to bdep-common-options(1) β yes, that's the manual page name, and it lives in the General Commands Manual section. this is the page that explains all the little flags every bdep command shares, so likeβ¦ it's the group chat of options. let's get into it π«Ά
β¨ NAME β¨
bdep-common-options β the deets on the common options, no cap π
πΈ SYNOPSIS πΈ
bdep [common-options] ...
π¦ DESCRIPTION π¦
so the common options are the ones that control behavior that's common to all or most of the bdep commands. and the slay part? you can put them either before the command or after it, hanging out with the command-specific options. literally your choice, she's flexible πββοΈ
π COMMON OPTIONS π
-vβ print the essential underlying commands that are being executed. this is exactly the same as--verbose 2. iconic.-Vβ print ALL the underlying commands being executed. this is equivalent to--verbose 3. she's chatty and we love her.--quiet,-qβ run quietly, only printing error messages. equivalent to--verbose 0. shhh π€«--verboselevel β set the diagnostics verbosity to level, somewhere between0and6. level0disables any non-error messages, while level6produces lots of information, with level1being the default. here's the extra tea you get at each level:- High-level information messages.
- Essential underlying commands being executed.
- All underlying commands being executed.
- Information that could be helpful to the user.
- Information that could be helpful to the developer.
- Even more detailed information.
--stdout-formatformat β the representation format to use when printing tostdout. valid values for this option arelines(the default) andjson. head down to the JSON OUTPUT section below for the whole story on thejsonformat π--jobs,-jnum β how many jobs to perform in parallel. if you don't specify this option at all, or you specify it with the value0, then the number of available hardware threads gets used instead. this option also gets propagated when executing package manager commands likebpkg-pkg-update(1),bpkg-pkg-test(1), etc., which then propagate it on to the build system. teamwork fr fr π«Ά--progressβ display progress indicators for long-lasting operations, like network transfers, building, etc. if you're printing to a terminal, the progress is displayed by default for low verbosity levels. use--no-progressto suppress it. (yes, it's giving loading screen energy β¨)--no-progressβ suppress progress indicators for long-lasting operations, such as network transfers, building, etc. bye bye little spinner π--diag-colorβ use color in diagnostics. if printing to a terminal, the color is used by default, provided the terminal is notdumb. use--no-diag-colorto suppress it. rainbow diagnostics? yes pls π--no-diag-colorβ don't use color in diagnostics. monochrome era π€--bpkgpath β the package manager program to be used for build configuration management. this should be the path to thebpkgexecutable. you can also specify additional options that should be passed to the package manager program with--bpkg-option.
if the package manager program is not explicitly specified, then bdep will by default use bpkg plus an executable suffix if one was specified when building bdep. so, for example, if bdep name was set to bdep-1.0, then it will look for bpkg-1.0. cute, right? π
--bpkg-optionopt β an additional option to be passed to the package manager program. see--bpkgfor more info on the package manager program. repeat this option to specify multiple package manager options. π--buildpath β the build program to be used to build packages. this should be the path to the build2bexecutable. you can also specify additional options that should be passed to the build program with--build-option.
if the build program is not explicitly specified, then bdep will by default use b plus an executable suffix if one was specified when building bdep. so, for example, if bdep name was set to bdep-1.0, then it will look for b-1.0. same energy, different program π«
--build-optionopt β an additional option to be passed to the build program. see--buildfor more info on the build program. repeat this option to specify multiple build options. π--curlpath β thecurlprogram to be used for network operations. you can also specify additional options that should be passed to thecurlprogram with--curl-option.
if the curl program is not explicitly specified, then bdep will use curl by default. note that this program will also be used by the underlying bpkg invocations unless overridden. she shares, she's generous π
--curl-optionopt β an additional option to be passed to thecurlprogram. see--curlfor more info on thecurlprogram. repeat this option to specify multiple curl options.
note that these options will also be used by the underlying bpkg invocations provided that curl is used. π
--pagerpath β the pager program to be used to show long text. commonly used pager programs arelessandmore. you can also specify additional options that should be passed to the pager program with--pager-option. if an empty string is specified as the pager program, then no pager will be used. if the pager program is not explicitly specified, thenbdepwill try to useless. if it's not available, then no pager will be used. ngllessreally said "main character" π--pager-optionopt β an additional option to be passed to the pager program. see--pagerfor more info on the pager program. repeat this option to specify multiple pager options. π--options-filefile β read additional options from file. each option should appear on a separate line, optionally followed by a space or an equal sign (=) and an option value. empty lines and lines starting with#are ignored. option values can be enclosed in double (") or single (') quotes to preserve leading and trailing whitespaces, as well as to specify empty values. if the value itself contains trailing or leading quotes, enclose it with an extra pair of quotes, for example'"x"'. non-leading and non-trailing quotes are interpreted as being part of the option value.
the semantics of providing options in a file is equivalent to providing the same set of options in the same order on the command line at the point where the --options-file option is specified β except that the shell escaping and quoting is not required. repeat this option to specify more than one options file. so many files, so many options, we stan ποΈ
--default-optionsdir β the directory to load additional default options files from.--no-default-optionsβ don't load default options files. hard pass π ββοΈ
π JSON OUTPUT π
commands that support the JSON output specify their formats as a serialized representation of a C++ struct or an array thereof. for example:
struct package
{
string name;
};
struct configuration
{
uint64_t id;
string path;
optional<string> name;
bool default;
vector<package> packages;
};
here's an example of the serialized JSON representation of struct configuration:
{
"id": 1,
"path": "/tmp/hello-gcc",
"name": "gcc",
"default": true,
"packages": [
{
"name": "hello"
}
]
}
this section provides all the details on the overall properties of such formats and the semantics of the struct serialization. π§
the order of members in a JSON object is fixed as specified in the corresponding struct. while new members may be added in the future (and should be ignored by older consumers), the semantics of the existing members (including whether the top-level entry is an object or an array) may not change. periodt.
an object member is required unless its type is optional<>, bool, or vector<> (array). for bool members, absent means false. for vector<> members, absent means empty. an empty top-level array is always present. noted π
for example, the following JSON text is a possible serialization of the above struct configuration:
{
"id": 1,
"path": "/tmp/hello-gcc"
}
π BUGS π
send bug reports to the users@build2.org mailing list. found a bug? tell the girlies, they'll fix it π
π COPYRIGHT π
Copyright (c) 2014-2024 the build2 authors.
Permission is granted to copy, distribute and/or modify this document under the terms of the MIT License.
and that's the whole page bestie, you ate it up π
this was bdep-common-options(1) from the General Commands Manual, brought to you by bdep 0.17.0, dated June 2024. go forth and flag responsibly, ily π«Άβ¨πΈ
π¦ where this page comes from
- fedora 43: bdep 0.17.0-5.fc43 Β· MIT
- fedora 44: bdep 0.17.0-7.fc44 Β· MIT
- nixos 26.05: bdep 0.17.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms