README and example: wrote about $PROGRAM_NAME

This commit is contained in:
HAYAMA_Kaoru
2024-12-02 10:28:27 +09:00
parent 69968caa69
commit ab0e2b12a3
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
(block main
(if (< (length args) 2)
(progn
(format (error-output) "Usage: ./lispect example.lsp HOSTNAME PASSWORD~%")
(format (error-output) "Usage: lispect ~A HOSTNAME PASSWORD~%" $PROGRAM_NAME)
(return-from main nil)
)
)