DPDUSAGE(1)
π dpdusage(1) β the "girl, who is even USING this??" detector
okay so you found yourself in the General Commands Manual, and the star of the show is dpdusage(1). she's a tiny little command with a big job and honestly? iconic behaviour. let's get into it π«Ά
β¨ NAME β¨
dpdusage β find unused definitions ππ
like... it goes through your stuff and points at the definitions nobody's referencing. the social media cleanse but for code. periodt.
π¦ SYNOPSIS π¦
dpdusage [options] input_file.dpd
so yeah bestie, you hand her some options, you hand her an input_file.dpd, and she does her lil thing π
π OPTIONS π
every single one of these, no skips, no cap:
-with-defsβ show EVERYTHING. this is the default, she's a generous queen π-without-defsβ show onlyPropobjects. just the Props, nothing else, she's being selective π-rm-transβ remove transitive dependencies. this one is the default too β¨-keep-transβ keep transitive dependencies. opposite vibes of the one above π«Ά-debugβ set debug mode. turn it on when you wanna see behind the curtain π-thresholdβ max number of references allowed, and the default is0. so like, anything at or below your threshold is fair game for "unused" treatment π-with-pathβ print path. default, she's helpful like that πΈ-without-pathβ do NOT print path. she's mysterious now π-vβ print version and exit. quick lil drive-by, love that for her β-helpβ display this list of options π--helpβ display this list of options π (same energy, two dashes this time, she contains multitudes)
ngl bestie,-helpand--helpdo the exact same thing. don't overthink it, just pick one and move on π
π that's the whole page, mwah π
this lil manual page dropped in June 2022 and she's been living rent free in the General Commands Manual ever since. go find those unused definitions, you main character π₯π
π¦ where this page comes from
- debian bookworm: coq-dpdgraph-tools 1.0+8.16-2+b1 Β· LGPL-2.1-only
- debian trixie: coq-dpdgraph-tools 1.0+8.20-1+b4 Β· LGPL-2.1-only
- ubuntu noble: coq-dpdgraph-tools 1.0+8.18-1build3 Β· LGPL-2.1-only
- ubuntu questing: coq-dpdgraph-tools 1.0+8.20-1build4
- ubuntu resolute: coq-dpdgraph-tools 1.0+8.20-1build8 Β· LGPL-2.1-only
- ubuntu stonking: coq-dpdgraph-tools 1.0+9.1-2build5 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms