haystack-dump examples don't work
dellis23 opened this issue · 2 comments
dellis23 commented
I'm really keen to try this out, but I can't seem to get the examples working. Here's a few variations I've tried:
$ sudo haystack-dump 16873 output.dump
usage: memory_dumper [-h] [--compact] [--type TYPE] pid dumpname
memory_dumper: error: argument dumpname: invalid writeable value: 'output.dump'
$ sudo haystack-dump dump 16873 beaver.dump
usage: memory_dumper [-h] [--compact] [--type TYPE] pid dumpname
memory_dumper: error: argument pid: invalid int value: 'dump'
$ sudo haystack-dump 16873 dump output.dump
usage: memory_dumper [-h] [--compact] [--type TYPE] pid dumpname
memory_dumper: error: argument dumpname: invalid writeable value: 'dump'
$ sudo haystack-dump dump dumps/output.dump
usage: memory_dumper [-h] [--compact] [--type TYPE] pid dumpname
memory_dumper: error: argument pid: invalid int value: 'dump
trolldbois commented
The following should now work:
sudo haystack-dump 16873 output.dump
dellis23 commented
Thanks!