Restore previous output of status current-{filename,function}

Closes #4499.

Partial reversion of 30368d5526.
This commit is contained in:
David Adam
2017-10-31 18:10:46 +08:00
parent 7fe7582329
commit b34b0cf1e3
3 changed files with 5 additions and 4 deletions

View File

@@ -42,7 +42,8 @@ The following operations (sub-commands) are available:
- `filename` prints the filename of the currently running script. Also `current-filename`, `-f` or `--current-filename`.
- `function` prints the name of the currently called function if able, when missing displays "N/A". Also `current-function`, `-u` or `--current-function`.
- `function` prints the name of the currently called function if able, when missing displays "Not a
function" (or equivalent translated string). Also `current-function`, `-u` or `--current-function`.
- `line-number` prints the line number of the currently running script. Also `current-line-number`, `-n` or `--current-line-number`.