Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cmdline.nim, fix broken (dragged) doc-reference for getAppFile… #23262

Merged
merged 1 commit into from
Jan 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/std/cmdline.nim
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ when defined(nimdoc):
## Similarly to `argv`:idx: in C,
## it is possible to call `paramStr(0)` but this will return OS specific
## contents (usually the name of the invoked executable). You should avoid
## this and call `getAppFilename()`_ instead.
## this and call `getAppFilename() <os.html#getAppFilename>`_ instead.
##
## **Availability**: When generating a dynamic library (see `--app:lib`) on
## Posix this proc is not defined.
Expand All @@ -192,7 +192,7 @@ when defined(nimdoc):
## * `parseCmdLine proc`_
## * `paramCount proc`_
## * `commandLineParams proc`_
## * `getAppFilename proc`_
## * `getAppFilename proc <os.html#getAppFilename>`_
##
## **Examples:**
##
Expand Down Expand Up @@ -282,7 +282,7 @@ when declared(paramCount) or defined(nimdoc):
## Convenience proc which returns the command line parameters.
##
## This returns **only** the parameters. If you want to get the application
## executable filename, call `getAppFilename()`_.
## executable filename, call `getAppFilename() <os.html#getAppFilename>`_.
##
## **Availability**: On Posix there is no portable way to get the command
## line from a DLL and thus the proc isn't defined in this environment. You
Expand All @@ -294,7 +294,7 @@ when declared(paramCount) or defined(nimdoc):
## * `parseCmdLine proc`_
## * `paramCount proc`_
## * `paramStr proc`_
## * `getAppFilename proc`_
## * `getAppFilename proc <os.html#getAppFilename>`_
##
## **Examples:**
##
Expand Down
Loading