Fix indentantion uniformity on README spec

This commit is contained in:
Juno Takano 2025-04-09 03:38:27 -03:00
commit 4afb27399d

View file

@ -21,14 +21,12 @@ Each language will be used to implement a simple command-line interface that ful
Iganaq Napkin Spec Iganaq Napkin Spec
A1. 'print' refers to messages for users. They MUST always be printed. A1. 'print' refers to messages for users. They MUST always be printed.
A2. 'log' refers to messages for programmers. They MUST be printed A2. 'log' refers to messages for programmers. They MUST be printed only if
only if DEBUG is set in the environment and MUST be preceded by ' [log] '. DEBUG is set in the environment and MUST be preceded by ' [log] '.
A3.1. Before parsing the user arguments, a configuration file at A3.1. Before parsing the user arguments, a configuration file at
$XDG_CONFIG_DIR/tori/tori.conf MUST be read for a line such as: $XDG_CONFIG_DIR/tori/tori.conf MUST be read for a line such as:
'su_command = doas'.
su_command = doas
A3.2. If this line is not found, the su_command MUST default to 'su -c'. A3.2. If this line is not found, the su_command MUST default to 'su -c'.
A3.3. If it is found, the su_command used MUST be whatever was specified. A3.3. If it is found, the su_command used MUST be whatever was specified.
A3.4. Whatever su_command MUST be validated once for presence at the path A3.4. Whatever su_command MUST be validated once for presence at the path
@ -60,5 +58,6 @@ Each language will be used to implement a simple command-line interface that ful
B2.9. [any other input] -> MUST print 'Unrecognized command: [command]', B2.9. [any other input] -> MUST print 'Unrecognized command: [command]',
a newline, '<short help>' and exit with status code 1 a newline, '<short help>' and exit with status code 1
Z1. for the implementation to be 'finished', tests MUST have been written Z1. for the implementation to be 'finished', tests MUST cover all of its
to cover all of its requirements and these tests MUST pass consistently requirements and these tests MUST pass consistently