1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-08-08 22:36:48 +02:00

update docs and version number

This commit is contained in:
Kelly Brazil
2021-03-24 21:57:04 -07:00
parent ed7eb0983a
commit 5fed4698c2
2 changed files with 5 additions and 6 deletions

View File

@@ -118,8 +118,8 @@ Returns:
"login": string, "login": string,
"logout": string, "logout": string,
"duration": string, "duration": string,
"login_epoch": integer, # available with last -F option "login_epoch": integer, # (naive) available with last -F option
"logout_epoch": integer, # available with last -F option "logout_epoch": integer, # (naive) available with last -F option
"duration_seconds": integer # available with last -F option "duration_seconds": integer # available with last -F option
} }
] ]

View File

@@ -87,12 +87,11 @@ Examples:
""" """
import re import re
from datetime import datetime
import jc.utils import jc.utils
class info(): class info():
version = '1.4' version = '1.5'
description = 'last and lastb command parser' description = 'last and lastb command parser'
author = 'Kelly Brazil' author = 'Kelly Brazil'
author_email = 'kellyjonbrazil@gmail.com' author_email = 'kellyjonbrazil@gmail.com'
@@ -126,8 +125,8 @@ def process(proc_data):
"login": string, "login": string,
"logout": string, "logout": string,
"duration": string, "duration": string,
"login_epoch": integer, # available with last -F option "login_epoch": integer, # (naive) available with last -F option
"logout_epoch": integer, # available with last -F option "logout_epoch": integer, # (naive) available with last -F option
"duration_seconds": integer # available with last -F option "duration_seconds": integer # available with last -F option
} }
] ]