Skip to content

Commit

Permalink
Code clean up and worked on documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Oct 21, 2022
1 parent ae29db2 commit 7f233fd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
6 changes: 3 additions & 3 deletions docs/sources/EventLog-keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ for example for the "Workstation" EventLog source:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\EventLog\System\Workstation\
```

Note that the source name is case insensitive; so "Workstation" and
"workstation" are considered equivalent.
Note that the log source is case insensitive; so "Workstation" and "workstation"
are considered equivalent.

### Services\EventLog type sub key

Expand Down Expand Up @@ -127,7 +127,7 @@ Values:

Name | Data type | Description
--- | --- | ---
(default) | | name of the event source
(default) | | Case insensitive log source.
MessageFileName | | Path to an event message file. An event message file contains language-dependent strings that describe the events.
ResourceFileName | | Path to an event resource file.

Expand Down
7 changes: 3 additions & 4 deletions scripts/eventlog_providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,9 @@ def Main():

argument_parser.add_argument(
'source', nargs='?', action='store', metavar='PATH', default=None,
help=(
'path of the volume containing C:\\Windows, the filename of '
'a storage media image containing the C:\\Windows directory, '
'or the path of a SOFTWARE or SYSTEM Registry file.'))
help=('path of the volume containing C:\\Windows, the filename of '
'a storage media image containing the C:\\Windows directory, '
'or the path of a SOFTWARE or SYSTEM Registry file.'))

options = argument_parser.parse_args()

Expand Down
6 changes: 3 additions & 3 deletions scripts/shellfolders.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ def Main():
default=None, help='path of the sqlite3 database to write to.')

argument_parser.add_argument(
'--winver', dest='windows_version', action='store', metavar='xp',
default=None, help=(
'string that identifies the Windows version in the database.'))
'-w', '--windows_version', '--windows-version',
dest='windows_version', action='store', metavar='Windows XP',
default=None, help='string that identifies the Windows version.')

argument_parser.add_argument(
'source', nargs='?', action='store', metavar='PATH', default=None,
Expand Down

0 comments on commit 7f233fd

Please sign in to comment.