1
0
mirror of https://github.com/fumiama/base16384.git synced 2026-06-12 15:35:22 +08:00

chore: optimize documents

This commit is contained in:
源文雨
2024-04-06 15:04:44 +09:00
parent 3704467871
commit ea8740ed4c
4 changed files with 10 additions and 10 deletions

View File

@@ -5,7 +5,7 @@ endif (POLICY CMP0048)
project(base16384 VERSION 2.3.0) project(base16384 VERSION 2.3.0)
add_definitions(-DBASE16384_VERSION="${PROJECT_VERSION}") add_definitions(-DBASE16384_VERSION="${PROJECT_VERSION}")
add_definitions(-DBASE16384_VERSION_DATE="April 5th 2024") add_definitions(-DBASE16384_VERSION_DATE="April 6th 2024")
message(STATUS "Testing endian...") message(STATUS "Testing endian...")
include(TestBigEndian) include(TestBigEndian)

File diff suppressed because one or more lines are too long

View File

@@ -1,9 +1,9 @@
.TH BASE16384 1 "5 April 2024" "GNU" "User Commands" .TH BASE16384 1 "6 April 2024" "GNU" "User Commands"
.SH NAME .SH NAME
base16384 \- Encode binary files to printable utf16be base16384 \- Encode binary files to printable utf16be
.SH SYNOPSIS .SH SYNOPSIS
.B base16384 .B base16384
-[edtn] <\fIinputfile\fR> <\fIoutputfile\fR> -[ed][t][n][cC] <\fIinputfile\fR> <\fIoutputfile\fR>
.SH DESCRIPTION .SH DESCRIPTION
.LP .LP
There are There are

View File

@@ -52,11 +52,11 @@ static base16384_err_t print_usage() {
BASE16384_VERSION_DATE BASE16384_VERSION_DATE
"). Usage:\n", stderr "). Usage:\n", stderr
); );
fputs("base16384 [-edtn] [inputfile] [outputfile]\n", stderr); fputs("base16384 -[ed][t][n][cC] [inputfile] [outputfile]\n", stderr);
fputs(" -e\t\tencode (default)\n", stderr); fputs(" -e\t\tencode (default)\n", stderr);
fputs(" -d\t\tdecode\n", stderr); fputs(" -d\t\tdecode\n", stderr);
fputs(" -t\t\tshow spend time\n", stderr); fputs(" -t\t\tshow spend time\n", stderr);
fputs(" -n\t\tdon't write utf16be file header (0xFEFF)\n", stderr); fputs(" -n\t\tdonot write utf16be file header (0xFEFF)\n", stderr);
fputs(" -c\t\tembed or validate checksum in remainder\n", stderr); fputs(" -c\t\tembed or validate checksum in remainder\n", stderr);
fputs(" -C\t\tdo -c forcely\n", stderr); fputs(" -C\t\tdo -c forcely\n", stderr);
fputs(" inputfile\tpass - to read from stdin\n", stderr); fputs(" inputfile\tpass - to read from stdin\n", stderr);