diff --git a/doc/cgmnlm.scd b/doc/cgmnlm.scd
index 1ed6e620cb39e04ade8b98fa9bab7e7c0bacc5e9..0e50aa7bfe8eed0814a18456ef101cd30180fb14 100644
--- a/doc/cgmnlm.scd
+++ b/doc/cgmnlm.scd
@@ -28,3 +28,6 @@ features.
*-W* _width_
Sets the maximum width, in columns, of Gemtext pages.
+
+*-A*
+ Enables alternate text instead of preformatted text by default.
diff --git a/src/gmnlm.c b/src/gmnlm.c
index f93ae642c8c641c9718f8ee849b0f666bdcd2869..cec330b44ae6e9252e92fbd1a5d74e7592b84e2a 100644
--- a/src/gmnlm.c
+++ b/src/gmnlm.c
@@ -1269,7 +1269,7 @@ .meta = NULL,
};
int c;
- while ((c = getopt(argc, argv, "hj:PUW:")) != -1) {
+ while ((c = getopt(argc, argv, "hj:PAUW:")) != -1) {
switch (c) {
case 'h':
usage(argv[0]);
@@ -1285,6 +1285,9 @@ } else {
usage(argv[0]);
return 1;
}
+ break;
+ case 'A':
+ browser.alttext = true;
break;
case 'P':
browser.pagination = false;