chiark / gitweb /
The official `plain text' language is `txt'.
[odin-cgi] / bin / pastebin.userv
index bc7a9147923fdf78afc6e0042e0f40c1a7f64bfb..4d5d4c01807f46d38f844e3cd2b63a8bf495ff48 100755 (executable)
@@ -56,7 +56,7 @@ EOF
   my %o;
   getopts "l:t:", \%o and @ARGV == 0
     or Odin::fail "usage: new [-l LANG] [-t TITLE]";
-  my %p = (title => decode(locale => $o{t}), lang => $o{l} // "plain-text",
+  my %p = (title => decode(locale => $o{t}), lang => $o{l} // "txt",
           content => read_content);
   my $db = Odin::open_db;
   my $c = "";