Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dolk13
Copy link
Contributor

@dolk13 dolk13 commented Oct 21, 2019

Added flag -l for print code listring.
Without this, it was difficult to find what the validator considers to be an error.
Example:

dolk13@Lumos:~/projects/sipp$ ./validate-src.sh -l
trailing whitespace found in one or more source files:
  src/sipp.cpp
    454:    char L_file_name[MAX_PATH];   

files with non-standard indentation found:
  src/call.cpp
    3719:  default:
    3720:  return(call::E_AR_STOP_CALL);

@wdoekes wdoekes closed this in 970f5a7 Oct 30, 2019
wdoekes pushed a commit that referenced this pull request Oct 30, 2019
Closes #424 by Stanislav Litvinenko (@dolk13). Thanks!

Altered by wdoekes to not interpret backslashes (builtin echo does,
depending on shell) and add cat -A. Also inverted meaning of -l to always
show lines by default.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant