1# @ajax/mesh-args
23meshd's command line: every flag, its default and its refusal, as the Rust parses them.
45meshd's command line (args.rs; hand-rolled: a dozen flags do not need a parser). Errors are the Rust's, word for word; the CUDA-only flags are refused under another backend (no silent ignoring).
67```c
8#include "mesh/args.h"
9```
1011## Ported from
1213[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) (Richard Safier, MIT): crates/mesh-host/src/args.rs: `Args`, `Peer`, `USAGE`, `CUDA_FLAGS`, `backend_of`, `parse`; backend.rs `DEFAULT_BACKEND`.
1415## Tests
1617- `tests/args.c`: args.rs's `defaults`, `full`, `backends` and `errors`, one for one, with every error text.
1819## Differences
2021- The cluster config is the fleet area's parser (@ajax/mesh-cluster-conf, `mcc_*`); `Peer::Cluster(Topology)` is `cluster` plus `topo`.
2223## Licence
2425MIT. See the repository's LICENSE.