Skip to content

Commit 16d50e4

Browse files
committed
Fix version printing
Former-commit-id: 099c044
1 parent 38bfac8 commit 16d50e4

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

planck/main.m

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,15 +113,11 @@ int main(int argc, char * const *argv) {
113113

114114
// Process arguments
115115

116-
if (verbose) {
117-
printf("planck %s\n\n", PLANCK_VERSION);
118-
}
119-
120116
if (mainNsName && repl) {
121117
printf("Only one main-opt can be specified.");
122118
} else {
123119
if (help) {
124-
printf("planck %s", PLANCK_VERSION);
120+
printf("planck %s\n", PLANCK_VERSION);
125121
printf("Usage: planck [init-opt*] [main-opt] [args]\n");
126122
printf("\n");
127123
printf(" With no options or args, runs an interactive Read-Eval-Print Loop\n");

0 commit comments

Comments
 (0)