Skip to content
Snippets Groups Projects
Commit adc8598b authored by Moe Jette's avatar Moe Jette
Browse files

Do not print time stamp if noheader option is selected.

parent 2e52d5d7
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,8 @@ int main(int argc, char *argv[])
parse_command_line(argc, argv);
while (1) {
if ( params.iterate || params.verbose || params.long_output )
if ((!params.no_header)
&& (params.iterate || params.verbose || params.long_output))
print_date();
if (params.bgl_flag)
......
/*****************************************************************************\
* squeue.c - Report jobs in the slurm system
*
* $Id$
*****************************************************************************
* Copyright (C) 2002 The Regents of the University of California.
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
......@@ -65,7 +67,8 @@ main (int argc, char *argv[])
while (1)
{
if ( params.iterate || params.verbose || params.long_list )
if ((!params.no_header)
&& (params.iterate || params.verbose || params.long_list))
_print_date ();
if ( params.step_flag )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment