commit d05d00966b605a8bbb2d3fb2856c5233ecdefcb2 from: Brett Fisher date: Thu Jun 18 05:20:29 2026 UTC bxnotify.c: Document full option set and ensure portable getopt declaration. - Include to provide an explicit, portable declaration for the getopt(3) function. This aligns with the code correctness and portability goals across ARM64, AMD64, and RISC-V architectures. - Update the usage error message in the getopt default case to include the [-C border] option, which was previously omitted from the help text despite being a valid flag. commit - d9934b8e3ee43c47ce6f49c8da8ccfeed6977afd commit + d05d00966b605a8bbb2d3fb2856c5233ecdefcb2 blob - ecc12850742e85297e431bb37f529bd9a357554a blob + 2a39535ddb7c6a490fb79c44c7a827b9ca65ddd7 --- bxnotify.c +++ bxnotify.c @@ -7,6 +7,7 @@ #define _POSIX_C_SOURCE 200809L #include +#include #include #include #include @@ -83,7 +84,7 @@ main(int argc, char *argv[]) case 'C': cfg_border = optarg; break; case 'a': cfg_align = atoi(optarg); break; default: - die("usage: bxnotify [-d duration] [-f font] [-F fg] [-B bg] [-a align]\n"); + die("usage: bxnotify [-d duration] [-f font] [-F fg] [-B bg] [-C border] [-a align]\n"); } } argc -= optind;