mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-30 21:07:04 +02:00
MISC: Improve help text of expr command (#2561)
This commit is contained in:
@@ -224,9 +224,12 @@ export const HelpTexts: Record<string, string[]> = {
|
|||||||
" ",
|
" ",
|
||||||
"Example:",
|
"Example:",
|
||||||
" ",
|
" ",
|
||||||
" expr 25 * 2 ** 10",
|
" expr 25*2",
|
||||||
|
` expr "25 * 2 ** 10"`,
|
||||||
" ",
|
" ",
|
||||||
"Note that letters (non-digits) are not allowed and will be removed from the input.",
|
`Except for the dot ("."), parentheses ("(" and ")"), and the letters "e" and "E" (used for scientific notation), `,
|
||||||
|
`most non-digit characters are not allowed and will be removed from the input.`,
|
||||||
|
"Some edge cases may need to be enclosed in quotes to evaluate correctly.",
|
||||||
" ",
|
" ",
|
||||||
],
|
],
|
||||||
free: [
|
free: [
|
||||||
|
|||||||
Reference in New Issue
Block a user