Skip to content

Commit 3756fb9

Browse files
author
Your Name
committed
Fix help for replacements
1 parent c8b30ff commit 3756fb9

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "frida-cshell",
3-
"version": "1.6.6",
3+
"version": "1.6.7",
44
"description": "Frida's CShell",
55
"scripts": {
66
"prepare": "npm run build && npm run version && npm run package && npm run copy",

src/cmdlets/data/replace.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,14 @@ export class ReplaceCmdLet extends CmdLetBase {
2727

2828
private static readonly USAGE: string = `Usage: replace
2929
30+
replace - show all replacements
31+
3032
replace dest src - replace function
31-
dest the address/symbol to replace
32-
src the address/symbol to replace with`;
33+
dest the address/symbol of the function to replace
34+
src the address/symbol of the function to replace with
35+
36+
replace ${CmdLetBase.NUM_CHAR}n ${CmdLetBase.DELETE_CHAR} - delete a replacement
37+
${CmdLetBase.NUM_CHAR}n the number of the replacement to delete`;
3338

3439
public runSync(tokens: Token[]): Var {
3540
const retDelete = this.runDelete(tokens);

0 commit comments

Comments
 (0)