mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-29 00:34:14 +02:00
spelling: indentation
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
parent
ab1aa322ac
commit
eadd2a8ed8
@ -697,7 +697,7 @@ Changes:
|
|||||||
* Renamed some variables to better indicate their purpose (counting, data type)
|
* Renamed some variables to better indicate their purpose (counting, data type)
|
||||||
* Removal of unused code and comments
|
* Removal of unused code and comments
|
||||||
* Deleted unused tests from database file
|
* Deleted unused tests from database file
|
||||||
* Correct levels of identation
|
* Correct levels of indentation
|
||||||
* Support for older mac OS X versions (Lion and Mountain Lion)
|
* Support for older mac OS X versions (Lion and Mountain Lion)
|
||||||
* Initialized variables for more binaries
|
* Initialized variables for more binaries
|
||||||
* Additional sysctls are tested
|
* Additional sysctls are tested
|
||||||
@ -1358,7 +1358,7 @@ Functions
|
|||||||
* AddSetting - New function to store settings (lynis show settings)
|
* AddSetting - New function to store settings (lynis show settings)
|
||||||
* ContainsString - New function to search for a string in another one
|
* ContainsString - New function to search for a string in another one
|
||||||
* Display - Added --debug, showing details on screen in debug mode
|
* Display - Added --debug, showing details on screen in debug mode
|
||||||
- Reset identation for lines which are too long
|
- Reset indentation for lines which are too long
|
||||||
* DisplayToolTip - New function to display tooltips
|
* DisplayToolTip - New function to display tooltips
|
||||||
* IsDebug - Check for usage of --debug
|
* IsDebug - Check for usage of --debug
|
||||||
* IsDeveloperMode - Status for development and debugging (--developer)
|
* IsDeveloperMode - Status for development and debugging (--developer)
|
||||||
|
@ -27,7 +27,7 @@ To ensure all pull requests can be easily checked and merged, here are some tips
|
|||||||
## Code Guidelines
|
## Code Guidelines
|
||||||
|
|
||||||
### General
|
### General
|
||||||
Identation should be 4 spaces (no tab character).
|
Indentation should be 4 spaces (no tab character).
|
||||||
|
|
||||||
### Comments
|
### Comments
|
||||||
Comments: use # sign followed by a space. When needed, create a comment block.
|
Comments: use # sign followed by a space. When needed, create a comment block.
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
# DigitsOnly Return only the digits from a string
|
# DigitsOnly Return only the digits from a string
|
||||||
# DirectoryExists Check if a directory exists on the disk
|
# DirectoryExists Check if a directory exists on the disk
|
||||||
# DiscoverProfiles Determine available profiles on system
|
# DiscoverProfiles Determine available profiles on system
|
||||||
# Display Output text to screen with colors and identation
|
# Display Output text to screen with colors and indentation
|
||||||
# DisplayError Show an error on screen
|
# DisplayError Show an error on screen
|
||||||
# DisplayException Show an exception on screen
|
# DisplayException Show an exception on screen
|
||||||
# DisplayManual Output text to screen without any layout
|
# DisplayManual Output text to screen without any layout
|
||||||
|
Loading…
x
Reference in New Issue
Block a user