summaryrefslogtreecommitdiffstats
path: root/src/poem/anthology/exit.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/poem/anthology/exit.rs')
-rw-r--r--src/poem/anthology/exit.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/poem/anthology/exit.rs b/src/poem/anthology/exit.rs
index ecb14f1..46fe13c 100644
--- a/src/poem/anthology/exit.rs
+++ b/src/poem/anthology/exit.rs
@@ -1,5 +1,12 @@
use std::process::exit;
+/// exit
+///
+/// The builtin `exit` command. Used to quit the shell.
+///
+/// # Aliases
+/// * exit
+/// * quit
pub fn incant() -> i32 {
exit(0);
}