hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit a8b5f993854cf9767ad308dabe025aadf0292820
parent c9ba7fc1fbe3bdf28cac405f41a11a4d2dfc5a80
Author: Sebastian <sebastian@sebsite.pw>
Date:   Mon,  8 May 2023 20:45:05 -0400

haredoc: remove -Fgemtext

Signed-off-by: Sebastian <sebastian@sebsite.pw>

Diffstat:
Mcmd/haredoc/main.ha | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/cmd/haredoc/main.ha b/cmd/haredoc/main.ha @@ -23,7 +23,6 @@ type format = enum { HARE, TTY, HTML, - GEMTEXT, }; type context = struct { @@ -58,7 +57,7 @@ export fn main() void = { const help: [_]getopt::help = [ "reads and formats Hare documentation", - ('F', "format", "specify output format (hare, tty, html, or gemtext)"), + ('F', "format", "specify output format (hare, tty, or html)"), ('T', "tags...", "set build tags"), ('X', "tags...", "unset build tags"), ('a', "show undocumented members (only applies to -Fhare and -Ftty)"), @@ -79,8 +78,6 @@ export fn main() void = { fmt = format::TTY; case "html" => fmt = format::HTML; - case "gemtext" => - fmt = format::GEMTEXT; case => fmt::fatal("Invalid format", opt.1); }; @@ -363,7 +360,6 @@ fn emit(ctx: *context) (void | error) = { emit_tty(ctx)?; case format::HTML => emit_html(ctx)?; - case format::GEMTEXT => abort(); // TODO }; };