Skip to content

Commit

Permalink
Fix example in docs for sam_hdr_add_line
Browse files Browse the repository at this point in the history
  • Loading branch information
kojix2 authored May 8, 2023
1 parent 279cc9e commit 415d2ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htslib/sam.h
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ int sam_hdr_add_lines(sam_hdr_t *h, const char *lines, size_t len);
/// Adds a single line to an existing header.
/*!
* Specify type and one or more key,value pairs, ending with the NULL key.
* Eg. sam_hdr_add_line(h, "SQ", "ID", "foo", "LN", "100", NULL).
* Eg. sam_hdr_add_line(h, "SQ", "SN", "foo", "LN", "100", NULL).
*
* @param type Type of the added line. Eg. "SQ"
* @return 0 on success, -1 on failure
Expand Down

0 comments on commit 415d2ce

Please sign in to comment.